<animationpath>.add

Add a control point to the path at the specified control time

 

<animationpath>.add(
    point    
    time    

)

 

point

The Control Point object to add to the animation path.


time

The control time for the control point.


Remarks

This will add a control point to the animation path at the specified control time. When a control point is added, Vizard will automatically sort the control points by their control time.

Return Value

None

Example

path = viz.addAnimationPath()

#Create a control point that will translate to (0,1,0)
cp = viz.addControlPoint()
cp.setPosition([0,1,0])

#Add the control point at time 2
path.add(cp,2)