Entities · interface
SerializedScene
Explained in Entities.
interface SerializedSceneimport type { SerializedScene } from '@driftengine/entities';Properties
| Name | Type | Description |
|---|---|---|
versionreadonly | 1 | |
schemasreadonly | Readonly<Record<string, Schema>> | What each component type looked like when this was written. The from half of a migration. |
entitiesreadonly | readonly { /** Component name → field id → value. Entity-typed values hold a scene index, not a handle. */ readonly components: Readonly<Record<string, Readonly<Record<string, unknown>>>>; }[] |