Open Asterune
Keyframe

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

Members7
Properties1
  • Time: number = 0parallel read

    The keyframe's position within its sequence, in seconds.

Methods6

Properties

Time

Keyframe.Time: number = 0

The 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(): table

Returns the Keyframes contained in this sequence.

GetPoses

Keyframe:GetPoses(): table

Returns the Poses contained in this keyframe.

RemovePose

Keyframe:RemovePose(pose: Pose): ()

Removes a Pose from this keyframe.

Inherited members

Inherited47

Instance