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

<animationpath>.getDistance

Get the total distance of the animation path

<animationpath>.getDistance()  

Remarks

Return the total distance traveled through one loop of the animation path. If the loop mode is set to viz.CIRCULAR, then the distance between the last and first control point will be included.

Return Value

Distance

See also

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