MotionScript

@motion-script/core


@motion-script/core / collectBoxes

Function: collectBoxes()

collectBoxes(node, path, out, isRoot): void

Defined in: runtime/node-picking.ts:193

Collect every visible node's box in draw order (parents before children, so a host can paint them in the order the renderer did). Skips opacity: 0 nodes and the scene root, matching pickNode.

Parameters

node

Node

path

string

out

NodeBox[]

isRoot

boolean

Returns

void