@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / restoreComponentState
Function: restoreComponentState() ​
ts
function restoreComponentState(
world,
objectManagementSystem,
targetEntityId,
sourceEntityId,
entityType,
values): void;Defined in: hydration/restoreComponentState.ts:59
Parameters ​
| Parameter | Type |
|---|---|
world | World |
objectManagementSystem | ObjectManagementSystem |
targetEntityId | number |
sourceEntityId | number |
entityType | string | null |
values | ComponentValueMaps |
Returns ​
void

