API > AnimationClip
AnimationClip
AnimationClip inherits from Motion
Stores keyframe based animations.
Members
Properties
Name |
Description |
AnimationClip .empty |
Returns true if the animation clip has no curves and no events. |
AnimationClip .events |
Animation Events for this animation clip. |
AnimationClip .frameRate |
Frame rate at which keyframes are sampled. (Read Only) |
AnimationClip .hasGenericRootTransform |
Returns true if the Animation has animation on the root transform. |
AnimationClip .hasMotionCurves |
Returns true if the AnimationClip has root motion curves. |
AnimationClip .humanMotion |
Returns true if the animation contains curve that drives a humanoid rig. |
AnimationClip .legacy |
Set to true if the AnimationClip will be used with the Legacy Animation component ( instead of the Animator ). |
AnimationClip .length |
Animation length in seconds. (Read Only) |
AnimationClip .localBounds |
AABB of this Animation Clip in local space of Animation component that it is attached too. |
AnimationClip .wrapMode |
Sets the default wrap mode used in the animation state. |
Constructor
Methods
Inherited Members
Inherited Properties
Name |
Description |
AnimationClip .hideFlags |
Should the object be hidden, saved with the Scene or modifiable by the user? |
AnimationClip .name |
The name of the object. |
Inherited Methods
Name |
Description |
AnimationClip .GetInstanceID() |
Returns the instance id of the object. |
AnimationClip is used by Animation to play back animations.
Unity AnimationClip