Entities · function
deserializeWorld
Read a world in, or refuse in words having written nothing.
Explained in Entities.
function deserializeWorld(world: World, scene: SerializedScene, types: readonly ComponentType[]): LoadResultimport { deserializeWorld } from '@driftengine/entities';Parameters
| Parameter | Type | Description |
|---|---|---|
world | World | |
scene | SerializedScene | |
types | readonly ComponentType[] |