@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 ​
| Parameter | Type |
|---|---|
world | World |
objectManagementSystem | ObjectManagementSystem |
targetEntityId | number |
sourceEntityId | number |
entityType | string | null |
values | ComponentValueMaps |
idMap | Map<number, number> |
Returns ​
void

