MotionScript

@motion-script/core


@motion-script/core / PrecompPhase

Type Alias: PrecompPhase

PrecompPhase = "prepareLayout" | "layout" | "prepareRender" | "prepareAudio" | "render" | "lifespans" | "bindAssets" | "bindContext" | "ellapse" | "generator"

Defined in: runtime/precompisition.ts:112

The distinct pieces of work Precomp.precompSceneSteps's per-frame loop performs. Each is a full walk of the scene's node tree (except generator, which is the author's own tween code), so attributing wall-clock to them is what tells you which one to optimize.