Documentation / scene / AnimationTimelineRunnerState
Type Alias: AnimationTimelineRunnerState
AnimationTimelineRunnerState =
object
Defined in: libs/scene/src/animation/animationtimeline.ts:290
Serializable snapshot of a runner's runtime state.
References to playbacks are by id; restoring playbacks themselves is the caller's responsibility (replay should re-create the active playbacks before deserializing).
Properties
stack
stack:
SerializedFrame[]
Defined in: libs/scene/src/animation/animationtimeline.ts:294
Serialized main control-flow stack.
concurrent
concurrent:
SerializedFrame[]
Defined in: libs/scene/src/animation/animationtimeline.ts:298
Serialized concurrent branches started with keep responses.
queued
queued:
AnimationTimelineStep[][]
Defined in: libs/scene/src/animation/animationtimeline.ts:302
Queued step batches waiting for the main stack to drain.
concurrentPlaybackIds
concurrentPlaybackIds:
string[]
Defined in: libs/scene/src/animation/animationtimeline.ts:304
Ids of playbacks owned by concurrent (keep-active) branches that have already drained.
playbackRefs?
optionalplaybackRefs?:Record<string,string>
Defined in: libs/scene/src/animation/animationtimeline.ts:308
Runner-level playback references preserved after the frame that created them has drained.
stopped
stopped:
boolean
Defined in: libs/scene/src/animation/animationtimeline.ts:312
Whether the runner was stopped when the state was captured.