Vizard 8 » Command Index » Vizard objects » animationpath » <animationpath>.computeTangents
8.0

<animationpath>.computeTangents

Automatically compute translation tangents for cubic bezier interpolation

<animationpath>.computeTangents()  

Remarks

This action will cause Vizard to automatically compute incoming and outgoing tangents for each translation control point for use with CUBIC_BEZIER translation mode.

Return Value

None

Example

path = viz.addAnimationPath()
.
.
.
path.setTranslateMode(viz.CUBIC_BEZIER)
path.computeTangents()

See also

<controlpoint>.setPositionIn
<controlpoint>.setPositionOut
<animationpath>.setTranslateMode