API:Class/KeyframeSequence

Filtered-inheritance mode: While this class technically inherits all Instance class members, some (if not all) have been hidden because they serve no purpose for this object.

Animation icon.pngKeyframeSequence : Object Icon.pngInstance

This object stores all the KeyFrames for an animation, determines if the animation is looped, and determines its priority against other animations. When uploading an animation to Roblox using the official animation plugin, this is the instance uploaded.

Properties

Properties [toggle]

boolLoop

This sets whether or not the animation will continuously repeat each time the animation finishes.

|RMD member="API:Class/KeyframeSequence/Loop"| This sets whether or not the animation will continuously repeat each time the animation finishes.|/RMD|
AnimationPriorityPriority

The priority of a KeyFrameSequence. 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.

|RMD member="API:Class/KeyframeSequence/Priority"|The priority of a KeyFrameSequence. 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.|/RMD|
This sets whether or not the animation will continuously repeat each time the animation finishes.
The priority of a KeyFrameSequence. 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.

Functions

Functions [toggle]

voidAddKeyframe ( Keyframe keyframe )

Adds a Keyframe to the sequence by parenting it to the object.

|RMD member="API:Class/KeyframeSequence/AddKeyframe"|Adds a Keyframe to the sequence by parenting it to the object.|/RMD|
array<Keyframe>GetKeyframes ( )

Returns an array containing all the Keyframes that have been added to the sequence.

|RMD member="API:Class/KeyframeSequence/GetKeyframes"|Returns an array containing all the Keyframes that have been added to the sequence.|/RMD|
voidRemoveKeyframe ( Keyframe keyframe )

Removes the given Keyframe from the sequence by setting its parent to nil.

|RMD member="API:Class/KeyframeSequence/RemoveKeyframe"|Removes the given Keyframe from the sequence by setting its parent to nil.|/RMD|
AddKeyframe ( Keyframe keyframe )
Adds a Keyframe to the sequence by parenting it to the object.
Returns an array containing all the Keyframes that have been added to the sequence.
Removes the given Keyframe from the sequence by setting its parent to nil.


|RMD member="API:Class/KeyframeSequence"|This object stores all the KeyFrames for an animation, determines if the animation is looped, and determines its priority against other animations. When uploading an animation to Roblox using the official animation plugin, this is the instance uploaded. |/RMD|