Skip to content

@relu-interactives/spatial-ecs


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

Function: restorePostCreateComponents() ​

ts
function restorePostCreateComponents(
   world, 
   objectManagementSystem, 
   targetEntityId, 
   sourceEntityId, 
   entityType, 
   values, 
   idMap): void;

Defined in: hydration/postCreateComponents.ts:59

Parameters ​

ParameterType
worldWorld
objectManagementSystemObjectManagementSystem
targetEntityIdnumber
sourceEntityIdnumber
entityTypestring | null
valuesComponentValueMaps
idMapMap<number, number>

Returns ​

void