AnimationClip

Show Deprecated
Not Creatable

The non-creatable AnimationClip instance type represents abstract animation data that can be fed to the Roblox animation system. KeyframeSequence and CurveAnimation are two current instance types that inherit from AnimationClip.

There are different ways to represent animation data. To simplify the use of Roblox's animation system, all such representations are their own instance types but inherit from the AnimationClip instance. AnimationClip instance published to Roblox (via the Animation Clip Editor) can be loaded into the Roblox animation System using an Animation instance by providing the asset ID of the published AnimationClip. Use the AnimationClipProvider to be able to retrieve any type of animation data using an asset ID.

Summary

Properties

Determines whether the animation stored in this AnimationClip is intended to loop by default.

Determines which clip takes priority when multiple animations are playing simultaneously.

Events

Methods

Properties

Determines whether the animation stored in this AnimationClip is intended to loop. When set to true the animation will continuously repeat each time the animation finishes. AnimationTrack instances internally load an AnimationClip when an Animation is requested (by AnimationID), and the AnimationTrack Looped property will default to the original AnimationClip value. Note this value can be overwritten.

Determines the default priority of the animation stored in this AnimationClip. Depending on what this is set to, playing multiple animations at once will look to this property to figure out which Keyframe Poses should be played over one another. AnimationTrack instances internally load an AnimationClip when an Animation is requested (by AnimationID), and the AnimationTrack Priority property will default to the original AnimationClip value. Note this value can be overwritten.

Events

Methods