AnimationState
Defined in: packages/three-flatland/src/animation/types.ts:58
Animation controller state.
Properties
Section titled “Properties”animation
Section titled “animation”animation:
string|null
Defined in: packages/three-flatland/src/animation/types.ts:60
Current animation name
elapsed
Section titled “elapsed”elapsed:
number
Defined in: packages/three-flatland/src/animation/types.ts:64
Time elapsed in current frame (ms)
frameIndex
Section titled “frameIndex”frameIndex:
number
Defined in: packages/three-flatland/src/animation/types.ts:62
Current frame index
loopCount
Section titled “loopCount”loopCount:
number
Defined in: packages/three-flatland/src/animation/types.ts:70
Current loop count
paused
Section titled “paused”paused:
boolean
Defined in: packages/three-flatland/src/animation/types.ts:68
Is animation paused
playing
Section titled “playing”playing:
boolean
Defined in: packages/three-flatland/src/animation/types.ts:66
Is animation playing
speed:
number
Defined in: packages/three-flatland/src/animation/types.ts:72
Speed multiplier