Skip to content

API > Keyframe


Keyframe⚓︎

A single keyframe that can be injected into an animation curve.

Members⚓︎

Properties⚓︎

Name Description
Keyframe.inTangentProperty Sets the incoming tangent for this key. The incoming tangent affects the slope of the curve from the previous key to this key.
Keyframe.inWeightProperty Sets the incoming weight for this key. The incoming weight affects the slope of the curve from the previous key to this key.
Keyframe.outTangentProperty Sets the outgoing tangent for this key. The outgoing tangent affects the slope of the curve from this key to the next key.
Keyframe.outWeightProperty Sets the outgoing weight for this key. The outgoing weight affects the slope of the curve from this key to the next key.
Keyframe.timeProperty The time of the keyframe.
In a 2D graph you could think of this as the x-value.
Keyframe.weightedModeProperty Weighted mode for the keyframe.

Constructor⚓︎

Name Description
Keyframe( time, value)Constructor Create a keyframe.