Keyframe
Stores poses at a time within an animation sequence.
- Creatable
Instance.new("Keyframe")- Inherits
- Instance
- Replication
- Standard
Behavior
Keyframe stores poses at a time within an animation sequence.
Summary
The keyframe's position within its sequence, in seconds.
Parents a Keyframe to this sequence.
Parents a Pose to this keyframe.
Returns this instance if it is an ExecutionGroup.
Returns the Keyframes contained in this sequence.
Returns the Poses contained in this keyframe.
Removes a Pose from this keyframe.
Properties
Time
Keyframe.Time: number = 0The keyframe's position within its sequence, in seconds.
Methods
AddKeyframe
Keyframe:AddKeyframe(keyframe: Keyframe): ()Parents a Keyframe to this sequence.
AddPose
Keyframe:AddPose(pose: Pose): ()Parents a Pose to this keyframe.
GetExecutionGroup
Keyframe:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
GetKeyframes
Keyframe:GetKeyframes(): tableReturns the Keyframes contained in this sequence.
GetPoses
Keyframe:GetPoses(): tableReturns the Poses contained in this keyframe.
RemovePose
Keyframe:RemovePose(pose: Pose): ()Removes a Pose from this keyframe.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying