MotionScript

@motion-script/core


@motion-script/core / PrecompProfile

Interface: PrecompProfile

Defined in: runtime/precompisition.ts:162

Optional profiler injected into Precomp. Deliberately a seam rather than a module global: it keeps core free of any environment assumption, and leaves nothing but a never-taken branch in a production bundle.

Methods

scene()

scene(sceneIndex, sceneName): ScenePrecompProfile

Defined in: runtime/precompisition.ts:163

Parameters

sceneIndex

number

sceneName

string

Returns

ScenePrecompProfile