Skip to content

Class: AnimationState ​

Per-clip playback state. AnimationSystem advances time by dt*speed while playing; on reaching clip.duration it wraps (loop) or clamps + stops. weight is reserved for future blending. _resolved is the lazy curve target cache.

Constructors ​

Constructor ​

ts
new AnimationState(clip): AnimationState;

Parameters ​

ParameterType
clipAnimationClip

Returns ​

AnimationState

Properties ​

PropertyModifierTypeDefault value
clippublicAnimationClipundefined
looppublicbooleanfalse
playingpublicbooleanfalse
speedpublicnumber1
timepublicnumber0
weightpublicnumber1

Methods ​

Reset() ​

ts
Reset(): void;

Returns ​

void

© 2026 PlayAdGentic