keyOutSpatialTangent()

app.project.item(index).layer(index).propertySpec.keyOutSpatialTangent(keyIndex)

Description

Returns the outgoing spatial tangent for the specified keyframe.

Parameters

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

Returns

Array of floating-point values:

• If the propertyvalue type is PropertyValueType.TwoD_SPATIAL , the array contains 2 floating-point values.
• If the propertyvalue type is PropertyValueType.ThreeD_SPATIAL , the array contains 3 floating-point values.
• If the property value type is neither of these types, an exception is generated.

Other Tags

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