pixi-reels

API reference

resolveStepTiming

pixi-reels


pixi-reels / index / resolveStepTiming

function resolveStepTiming(
   profile: SpeedProfile, 
   phase: string, 
   stepName: string, 
   anticipated?: boolean
): readonly StepTiming[];

Defined in: config/phaseProfile.ts:151

What the profile says about one named step of one phase, in segment order. The section’s whenAnticipated entry for that step is merged over the section’s own, segment by segment.

Empty when the profile configures nothing for that step. The built-in steps read the first entry; a list is for a step written to consume segments.

Parameters#

ParameterTypeDefault value
profileSpeedProfileundefined
phasestringundefined
stepNamestringundefined
anticipatedbooleanfalse

Returns#

readonly StepTiming[]