pixi-reels

API reference

PhaseSectionBody

pixi-reels


pixi-reels / index / PhaseSectionBody

type PhaseSectionBody<TSteps, TExtra = unknown> = PhaseTiming & TExtra & {
  steps?: { readonly [K in keyof TSteps]?: TSteps[K] | readonly TSteps[K][] };
};

Defined in: config/types.ts:411

A section’s contents, without the anticipated variant. Split out so PhaseSection can reuse it for whenAnticipated without letting that variant carry a variant of its own.

Type Declaration#

NameTypeDescriptionDefined in
steps?{ readonly [K in keyof TSteps]?: TSteps[K] | readonly TSteps[K][] }Per-step overrides, keyed by the step’s name. A list is for a step written to run several segments in a row (a two-stage acceleration); the built-in steps read the first entry only.config/types.ts:418

Type Parameters#

Type ParameterDefault type
TSteps-
TExtraunknown