Open topic with navigation
<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