Vizard 8 » Command Index » Vizard objects » controlpoint » <controlpoint>.setScaleMode
8.0

<controlpoint>.setScaleMode

The interpolation mode for the scale

<controlpoint>.setScaleMode(  
mode  
)  
mode
Can be one of the following values:

Interpolation Modes

viz.INHERIT

Inherit the interpolation mode of the animation path. (Default)

viz.LINEAR

Interpolate linearly between control points.

viz.CUBIC_BEZIER

Use cubic bezier interpolation. Cubic bezier uses the control points and their incoming and outgoing tangents to compute a smooth curve between them. This is normally only used with translations.

Remarks

This will set the interpolation mode for the scale of the control point. The default is viz.INHERIT

Return Value

None

Example

cp = viz.addControlPoint()
cp.setScaleMode(viz.CUBIC_BEZIER)

See also

<controlpoint>.setTranslateMode
<controlpoint>.setRotateMode
<animationpath>.setScaleMode