Get the duration of the animation path
<animationpath>.getDuration() |
When moving at a constant speed, the duration will depend on the total distance between control points and the constant velocity setting.
When the loop mode is set to viz.CIRCULAR, the time between the last and first control point will be added to the duration.