-
Notifications
You must be signed in to change notification settings - Fork 0
5. Properties
Sébastien Lavoie edited this page Jul 1, 2018
·
1 revision
Now creating composition and layers is cool, but we'll probably need more than that. Here's how to affect the different layers we've created.
layers:
- name: The layer
transform:
scale: [50, 100]
opacity: 50
That's it. Every transform property is available by using the name you see in After Effects.
Again, Hyle is selection-aware.
transform:
position: [0, 0]
Will apply to all the currently selected layers in your interface.
effects:
- type: Gaussian Blur
name: My Gaussian Blur
properties:
bluriness: 50
The above snippet will apply gaussian blur and rename the effect "My Gaussian Blur" on the currently selected layer in your active composition.
Until now we have only used static values but Hyle will also support keyframes and expressions.
transform:
opacity:
valueAtTime:
- time: 1
value: 0
- time: 5
value: 100
expression: "loopOut('pingPong')"
valueAtTime will create our keyframes while the expression will also be applied. You can have as many valueAtTime as you want.