Skip to main content
Defined in: modules/scene/src/scene.ts:8 What a scene’s load receives besides the engine context.

Type Parameters

TParams

TParams = undefined Shape of the params the scene expects.

Properties

id

readonly id: string
Defined in: modules/scene/src/scene.ts:10 The scene’s id: its key in SceneLibrary’s scenes, else its class name.

params

readonly params: TParams | undefined
Defined in: modules/scene/src/scene.ts:15 The params given to ctx.scenes.load. undefined when the scene is loaded as the parent of the scene that was asked for.