Vizard 7 » Command Index » Vizard objects » animationpath » <animationpath>.getControlPointTime
7.6

<animationpath>.getControlPointTime

Get the assigned time of the control point

<animationpath>.getControlPointTime(  
index  
)  
index
0-based index of the control point. Negative index can also be used to reference from end of list.

Remarks

Returns the assigned time of the control point at the specified index. The assigned time is the time passed to the <animationpath>.addControlPoint command when adding the control point.

The assigned time can differ from the actual elapsed time at the control point. This can occur if the first control point time is not 0, or if the constant speed setting is enabled. The <animationpath>.getTimeAtControlPoint command can be used to get the actual elapsed time at the control point.

Return Value

Control point time, in seconds

See also

<animationpath>.addControlPoint
<animationpath>.getControlPoint
<animationpath>.getControlPointCount
<animationpath>.iterControlPoints
<animationpath>.getTimeAtControlPoint