Skip to content

API Interface LoadSceneOptions

github-actions[bot] edited this page Dec 1, 2026 · 4 revisions

Interface: LoadSceneOptions

Defined in: src/engine/scene/SceneManager.ts:17

Properties

additive?

additive?: boolean;

Defined in: src/engine/scene/SceneManager.ts:19

Keep already-loaded scene nodes instead of replacing them (ADR 0016).


hold?

hold?: boolean;

Defined in: src/engine/scene/SceneManager.ts:23

ADR 0615: enter held at the swap instead of going on playing (replacing loads only; not on server Worlds).


onProgress?

onProgress?: LoadProgressCallback;

Defined in: src/engine/scene/SceneManager.ts:21

Called with 0..1 over the load, and the phase it's in (ADR 0616).


signal?

signal?: AbortSignal;

Defined in: src/engine/scene/SceneManager.ts:25

ADR 0615: aborting it before the swap rejects the load with an AbortError and leaves the old scene in place.

Clone this wiki locally