Skip to main content

Animation

Animation players, clips, layers, tracks, keyframes, and curves.

Commonly used

Guides

All APIs in this topic

Add components to a scene object and reference assets and other modules with a script input.

Components, assets, and modules

APIDescription
AnimationAssetRepresents animation data.
AnimationCurveTrackContainer for one or more AnimationCurves.
AnimationPlayerControls animation playback.
AnimationTrackRepresents the base class for animation tracks.

Event data

APIDescription
AnimationPlayerOnEventArgsArgs used for AnimationPlayer's event, which is triggered every time the animation playback passes the given time in the event.

Objects and data

APIDescription
AnimationClipAnimation Clip is what an Animation Player uses to manage playback for a specific animation.
AnimationCurveA curve that contains a set of keyframes and can evaluate values at specific timestamps.
AnimationKeyFrameA keyframe with time and respective value.
AnimationPropertyEventRegistrationThe event registration returned by AnimationAsset's createEvent.
AnimationPropertyLayerA layer containing different properties.
AnimationPropertyTrackInterface class for typed property tracks.
…AnimationPropertyTrack 6 variantsFloat · Int · IntStep · Quat · QuatSlerp · Vec3
…CurveAnimationPropertyTrack 4 variantsFloat · Vec2 · Vec3 · Vec4

Enums

APIDescription
AnimationLayerBlendModeHow animation layers are blended.
AnimationLayerScaleModeThe method in which an Animation Layer should be scaled to other layers in an AnimationClip.
PlaybackModeUsed with AnimationClip to describe how the clip should be played.
TangentTypeUsed with AnimationKeyFrame.
WeightedModeDifferent coordinate representations for tangent points