Skip to content

@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 ​

ParameterType
worldWorld
objectManagementSystemObjectManagementSystem
targetEntityIdnumber
sourceEntityIdnumber
entityTypestring | null
valuesComponentValueMaps

Returns ​

void