app.project.item(index).layer(index).propertySpec.setInterpolationTypeAtKey(keyIndex,inType,outType)
Description
Sets the ‘in’ and ‘out’ interpolation types for the specified keyframe.
Parameters
keyIndex The index for the keyframe. An integer in the range [1..numKeys], as returned by the addKey or nearestKeyIndex method.
inType The incoming interpolation type. A KeyframeInterpolationType enumerated value; one of:
KeyframeInterpolationType.LINEAR
KeyframeInterpolationType.BEZIER
KeyframeInterpolationType.HOLD
outType (Optional) The outgoing interpolation type. If not supplied, the ‘out’ type is set to the inType value. A KeyframeInterpolationType enumerated value; one of:
KeyframeInterpolationType.LINEAR
KeyframeInterpolationType.BEZIER
KeyframeInterpolationType.HOLD
Returns
Nothing.