Skip to content

@relu-interactives/spatial-ecs


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

Function: findSnapshotRootEntityIds() ​

ts
function findSnapshotRootEntityIds(snapshot): number[];

Defined in: prefab/overrides.ts:73

Entity ids of entities whose ParentId is null or absent.

Parameters ​

ParameterType
snapshotSubtreeSnapshot

Returns ​

number[]