Created
November 10, 2017 21:35
-
-
Save spencejs/d9e138a944896c4565190320693e6393 to your computer and use it in GitHub Desktop.
AE - Auto Fade In
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
transition = 20; | |
if (marker.numKeys<2){ | |
tSecs = transition / ( 1 / thisComp.frameDuration); | |
linear(time, inPoint, inPoint + tSecs, 0, 100) | |
- linear(time, outPoint - tSecs, outPoint, 0, 100) | |
}else{ | |
linear(time, inPoint, marker.key(1).time, 0, 100) | |
- linear(time, marker.key(2).time, outPoint, 0, 100) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment