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

<animationpath>.getTime

Get current time of animation path

<animationpath>.getTime()  

Remarks

Returns the current elapsed time of the animation path. This is essentially the time since the path was started, not taking pauses into account. If looping is enabled, then the time can be greater than the duration of the path. The time is affected by the path speed factor (<animationpath>.setSpeed).

Return Value

Time, in seconds

See also

<animationpath>.getDuration
<animationpath>.setTime
<animationpath>.getDistance
<animationpath>.getDistanceAtTime
<animationpath>.getDistanceAtControlPoint
<animationpath>.getMatrixAtTime
<animationpath>.getTimeAtDistance
<animationpath>.getTimeAtControlPoint