Experimental
One keyframe of a property: a normalized time from 0 to 1, a value, and the curve to the next keyframe. Experimental: this API may change in a minor release.
Properties#
| Property | Type | Description |
|---|---|---|
time |
number |
Experimental The time from 0 to 1, normalized over the duration of the block. |
value |
KeyframeValue |
Experimental |
easing? |
KeyframeEasing |
Experimental The curve to the next keyframe. Defaults to the 'Linear' preset. |
spatialOut? |
Vec2 |
Experimental The tangent that leaves this keyframe’s vec2 value, relative to that value. It shapes the motion path to the next keyframe. |
spatialIn? |
Vec2 |
Experimental The tangent that enters the next keyframe’s vec2 value, relative to that value. It sits on this keyframe, like spatialOut, so the last keyframe does not use it. |