Skip to content

@modoki/engine / index / applyTimelineState

Function: applyTimelineState() ​

applyTimelineState(world, rootId, def, t, index?): void

Apply the idempotent STATE of a timeline at absolute time t: keyframe-Animator scrub poses + activation-span visibility. Shared by the runtime system and (future) editor scrub-preview — NO edge events fire here (those are the system's job). Skeletal/sprite animators are NOT scrubbed (v1); their clip is triggered on the boundary by the system.

Parameters ​

world ​

World

rootId ​

number

def ​

TimelineDef

t ​

number

index? ​

EntityIndex

Returns ​

void

Built with Modoki.