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

<animationpath>.iterControlPoints

Get an iterator for the control points

<animationpath>.iterControlPoints()  

Remarks

Returns an iterator for accessing the (time,control point) pairs of the animation path.

Return Value

Iterator that yields (time, control point) tuples.

Example

for time,point in path.iterControlPoints():
    print(time, point.getPosition())

See also

<animationpath>.addControlPoint
<animationpath>.getControlPoint
<animationpath>.getControlPointCount
<animationpath>.getControlPointTime