setSpatialAutoBezierAtKey()

app.project.item(index).layer(index).propertySpec.setSpatialAutoBezierAtKey(keyIndex,newVal)

Description

Turns spatial auto-Bezier interpolation on or off for the specified keyframe.
If the property value type is neither TwoD _SPATIAL nor ThreeD_SPATIAL, an exception is generated.

Parameters

keyIndex The index for the keyframe. An integer in the range [1..numKeys], as returned by the addKey or nearest -KeyIndex method.

newVal True to turn spatial auto-Bezier on, false to turn it off.

Returns

Nothing.

Other Tags

Posted in Property object and tagged , , , , , , , , , .