Skip to content

@relu-interactives/spatial-ecs


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

Type Alias: NodeKeyMaps ​

ts
type NodeKeyMaps = {
  idToKey: Map<number, string>;
  keyToId: Map<string, number>;
  rootKey: string | null;
  boundaryIds: Map<number, {
     url: string;
     instanceId: string;
  }>;
};

Defined in: prefab/nodeKeys.ts:33

Properties ​

PropertyTypeDescriptionDefined in
idToKeyMap<number, string>-prefab/nodeKeys.ts:34
keyToIdMap<string, number>-prefab/nodeKeys.ts:35
rootKeystring | nullnodeKey of the scope root (bare nodeId), or null when it has none.prefab/nodeKeys.ts:37
boundaryIdsMap<number, { url: string; instanceId: string; }>Entity ids of NESTED instance roots (non-scope-root PrefabInstance).prefab/nodeKeys.ts:39