Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: InstantiateSubtreeResult ​

ts
type InstantiateSubtreeResult = {
  rootId: EntityId | null;
  idMap: Map<number, number>;
};

Defined in: prefab/instantiateSubtree.ts:21

Properties ​

PropertyTypeDescriptionDefined in
rootIdEntityId | nullLive entity id of the subtree root, or null when nothing hydrated.prefab/instantiateSubtree.ts:23
idMapMap<number, number>Snapshot entity id → live entity id.prefab/instantiateSubtree.ts:25