Skip to content

@relu-interactives/spatial-ecs


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

Function: hydrateWorldFromSnapshot() ​

ts
function hydrateWorldFromSnapshot(
   snapshot, 
   world, 
   objectManagementSystem): number;

Defined in: hydration/hydrateWorld.ts:322

Parameters ​

ParameterType
snapshot| EcsWorldStateSnapshotLike | null | undefined
worldWorld
objectManagementSystemObjectManagementSystem

Returns ​

number