Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Easy Ease Keyframe Temporal Interpolation in AE Scripting

$
0
0

My goal is to apply several keyframes to a property of a layer and then set them all as "Easy Ease": essentially, I'm looking to achieve the exact same effect as doing the following in After Effects:

 

Playing keyframes, without changing their default interpolation (so leaving them as linear)

Selecting all keyframes just placed.

Pressing F9 to apply Easy Ease.

 

I know how to do this when using After Effects manually but not when writing scripts.  I would like to achieve the exactly same effect with After Effects scripting.  I've come close, but I'm not quite there.  For example:

 

master_comp.layer(1).property("Opacity").setInterpolationTypeAtKey(1, KeyframeInterpolationType.BEZIER, KeyframeInterpolationType.BEZIER);

 

Will change the newest pre-existing linear keyframe to Bezier, but it will not apply Easy Ease to it; they are not the same.

 

How can I apply Easy Ease to all the keyframes for a given property of a layer?


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>