AnimationClip Inherits from Motion

Stores keyframe based animations.

AnimationClip is used by Animation to play back animations.

Variables
length

Animation length in seconds. (Read Only)

frameRate

Frame rate at which keyframes are sampled. (Read Only)

wrapMode

Sets the default wrap mode used in the animation state.

localBounds

AABB of this Animation Clip in local space of Animation component that it is attached too.

Constructors
AnimationClip

Creates a new animation clip.

Functions
SetCurve

Assigns the curve to animate a specific property.

ClearCurves

Clears all curves from the clip.

AddEvent

Adds an animation event to the clip.