Animation
Animation players, clips, layers, tracks, keyframes, and curves.
Commonly used
AnimationPlayerControls animation playback.AnimationClipAnimation Clip is what an Animation Player uses to manage playback for a specific animation.AnimationAssetRepresents animation data.
Guides
Animating Scene ObjectsLearn how to create transform animations on scene objects using the Animate action, the Animation Curve Editor, and keyframe recording.Animation EventsThe Animation Events system allows you to trigger responses based on an animation clip timeline.Animation Curve EditorThe Animation Curve Editor provides an interface to author and edit animation curves, including transform animations on scene objects with transport controls, keyframe recording…Animation PlayerAnimationPlayer handles animations created by other 3D creation software.Playing Animations ProgrammaticallyBy default, Animation Player will play the animations automatically.
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
| API | Description |
|---|---|
| AnimationAsset | Represents animation data. |
| AnimationCurveTrack | Container for one or more AnimationCurves. |
| AnimationPlayer | Controls animation playback. |
| AnimationTrack | Represents the base class for animation tracks. |
Event data
| API | Description |
|---|---|
| AnimationPlayerOnEventArgs | Args used for AnimationPlayer's event, which is triggered every time the animation playback passes the given time in the event. |
Objects and data
| API | Description |
|---|---|
| AnimationClip | Animation Clip is what an Animation Player uses to manage playback for a specific animation. |
| AnimationCurve | A curve that contains a set of keyframes and can evaluate values at specific timestamps. |
| AnimationKeyFrame | A keyframe with time and respective value. |
| AnimationPropertyEventRegistration | The event registration returned by AnimationAsset's createEvent. |
| AnimationPropertyLayer | A layer containing different properties. |
| AnimationPropertyTrack | Interface class for typed property tracks. |
| …AnimationPropertyTrack | Float · Int · IntStep · Quat · QuatSlerp · Vec3 |
| …CurveAnimationPropertyTrack | Float · Vec2 · Vec3 · Vec4 |
Enums
| API | Description |
|---|---|
| AnimationLayerBlendMode | How animation layers are blended. |
| AnimationLayerScaleMode | The method in which an Animation Layer should be scaled to other layers in an AnimationClip. |
| PlaybackMode | Used with AnimationClip to describe how the clip should be played. |
| TangentType | Used with AnimationKeyFrame. |
| WeightedMode | Different coordinate representations for tangent points |