setTemporalEaseAtKey()

app.project.item(index).layer(index).propertySpec.setTemporalEaseAtKey(keyIndex,inTemporalEase,outTemporalEase)

Description

Sets the incoming and outgoing temporal ease for the specified keyframe. See KeyframeEase object”.

Parameters

keyIndex The index for the keyframe. An integer in the range [1..numKeys], as returned by the ad dKe y or ne arestKe y In dex method.
inTemporalEase The incoming temporal ease. An array of 1, 2, or 3 KeyframeEase objects.
• If the property value type is PropertyValueType. Tw oD, the array contains 2 objects.
• If the property value type is PropertyValueType. Thre eD, the array contains 3 objects.
• For all other value types, the array contains 1 object.
outTemporalEase (Optional) The outgoing temporal ease. If not supplied, the outgoing ease is set to the inTemporalEase value. An array of 1, 2, or 3 KeyframeEase objects.
• If the property value type is Prop er tyVa lu eTyp e. Tw oD, the array contains 2 objects.
• If the property value type is Prop er tyVa lu eTyp e. Thre eD, the array contains 3 objects.
• For all other value types, the array contains 1 object.

Returns

Nothing.

Other Tags

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