The loop mode for the animation path
| <animationpath>.loop( | |
| mode |
)
mode
Can be one of the following values:
Loop Modes |
|
viz.OFF |
No looping. When the path reaches the end it will stop. |
viz.LOOP |
Standard Looping. When the path reaches the end it will jump back to the beginning. |
viz.SWING |
Swing loop. When the path reaches the end it will change direction and go back the otherway. |
viz.CIRCULAR |
Circular loop. When the path reaches the end it will continue on to the first control point. In this case the control time for the first control point will be used to calculate the time between the control points. |
This will set the looping behavior for the animation path.
None