@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / collectSnapshotSubtreeIds
Function: collectSnapshotSubtreeIds() ​
ts
function collectSnapshotSubtreeIds(snapshot, rootEntityId): number[];Defined in: prefab/nodeKeys.ts:166
JSON-space subtree ids (root first, BFS) via ParentId edges.
Parameters ​
| Parameter | Type |
|---|---|
snapshot | SubtreeSnapshot |
rootEntityId | number |
Returns ​
number[]

