Skip to content

@modoki/engine / index / LoadedSceneEntry

Type Alias: LoadedSceneEntry ​

LoadedSceneEntry = object

A currently-loaded scene's bookkeeping. createdAt is the FILE's own creation stamp (scene-loading.md, Phase 1) — captured here at load time from the raw parsed JSON (an untyped field; not part of SceneData) so a later save can re-emit the ORIGINAL value instead of serializeScene unconditionally minting a fresh one. Absent for a scene with no prior stamp (e.g. one authored before this field existed) — serializeScene mints a fresh one only in that case.

Scene & Prefabs ​

baseScene? ​

optional baseScene?: string


createdAt? ​

optional createdAt?: string


guid ​

guid: string


path ​

path: string


role ​

role: "primary" | "base"

Built with Modoki.