Skip to content

SceneLoadOptions

Defined in: scene.ts:77

optional abortOnMissingAssets?: boolean

Defined in: scene.ts:93

If true, throw after preloading when any asset is missing; the scene is not spawned. Default is false (legacy behaviour: missing assets get handle 0, scene loads anyway).


optional assetBaseUrl?: string

Defined in: scene.ts:79


optional assets?: Assets

Defined in: scene.ts:78


optional collectAssets?: LoadedSceneAssets

Defined in: scene.ts:80


optional onMissingAssets?: MissingAssetCallback

Defined in: scene.ts:87

Invoked once during load with the list of asset refs that could not be loaded (unresolved UUID or fetch failure). Fires even if the list is empty — callers that want “missing asset” UI wire this up.


optional onProgress?: SceneLoadProgressCallback

Defined in: scene.ts:81