MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getKeyTime

Method getKeyTime

Engine/PyParameter.cpp:496–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494}
495
496bool
497AnimatedParam::getKeyTime(int index,
498 int dimension,
499 double* time) const
500{
501 KnobIPtr knob = getInternalKnob();
502
503 if (!knob) {
504 *time = 0.;
505 return false;
506 }
507 return knob->getKeyFrameTime(ViewSpec::current(), index, dimension, time);
508}
509
510void
511AnimatedParam::deleteValueAtTime(double time,

Callers 2

drawMethod · 0.45

Calls 2

currentFunction · 0.85
getKeyFrameTimeMethod · 0.80

Tested by

no test coverage detected