MotionScript

@motion-script/core


@motion-script/core / StillContent

Type Alias: StillContent

StillContent = (stage) => Node | Node[] | void

Defined in: nodes/scene/scene-node.ts:469

A still's content: a factory that returns the tree to draw, authors the root through the Stage it is given, or does both.

A factory, never a node — see createStill for why that is a correctness requirement rather than a style preference.

Parameters

stage

Stage

Returns

Node | Node[] | void