Skip to content

AnimationState

Defined in: packages/three-flatland/src/animation/types.ts:58

Animation controller state.

animation: string | null

Defined in: packages/three-flatland/src/animation/types.ts:60

Current animation name


elapsed: number

Defined in: packages/three-flatland/src/animation/types.ts:64

Time elapsed in current frame (ms)


frameIndex: number

Defined in: packages/three-flatland/src/animation/types.ts:62

Current frame index


loopCount: number

Defined in: packages/three-flatland/src/animation/types.ts:70

Current loop count


paused: boolean

Defined in: packages/three-flatland/src/animation/types.ts:68

Is animation paused


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