firedFrames

Returns a track's fired keyframes in the order they take effect.

@internote/canvas-sdkFunction
On this page
import { firedFrames } from '@internote/canvas-sdk';

A settled frame has finished, so its fire time decides nothing: settled frames come first, ordered by their anchor — step, then offset — and only the rest, the live step's and time anchors, are ordered by when they fired. Ties keep source order. The track's end state on every settled step is then what the author wrote for it, whatever the source order or offsets.

#Signature

(track: KeyframeTrack, steps: StepController): FiredFrame[]

#Parameters

track
The refined !cue.to chain.
steps
The scene's step controller.

Declared in packages/canvas-sdk/src/animation/keyframes.ts:81.

Last updated