Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / index / findTopLevelNestedRegions

Function: findTopLevelNestedRegions() ​

ts
function findTopLevelNestedRegions(snapshot): NestedRegion[];

Defined in: prefab/nodeKeys.ts:207

TOP-LEVEL-RELATIVE nested instance regions of a document: instance roots that are not the scope root and not themselves inside another region. Deeper nesting is reached by cascading through the intermediate prefab's own file, never directly.

Parameters ​

ParameterType
snapshotSubtreeSnapshot

Returns ​

NestedRegion[]