AnimationPlaybackController class describes an animation playback controller asset.
(get) identifier: string
Unique identifier of this animation playback controller.
(get) looping: BoolSignal
A signal that controls whether this controller should loop or not.
Loops the playback controller. To be used in pair with the
(get) name: string
Name of this animation playback controller.
(get) playing: BoolSignal
A signal that controls wheher this playback controller is playing or not.
Plays or pauses the playback controller depending on the value entered.
(get) speed: ScalarSignal
Scalar signal represents current speed of animation playback (1.0 being normal speed).
Sets the speed of the animation playback.
getAnimationClip(): Promise<AnimationClip | null>
Get the animation clip that this controller is using.
Resets the playback controller to the beginning. If the playback controller is currently playing then it will immediately re-start.
setAnimationClip(clip: AnimationClip | null): Promise<void>
Set the animation clip that this controller should use.