SceneLoadOptions
Defined in: scene.ts:77
Properties
Section titled “Properties”abortOnMissingAssets?
Section titled “abortOnMissingAssets?”
optionalabortOnMissingAssets?: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).
assetBaseUrl?
Section titled “assetBaseUrl?”
optionalassetBaseUrl?:string
Defined in: scene.ts:79
assets?
Section titled “assets?”
optionalassets?:Assets
Defined in: scene.ts:78
collectAssets?
Section titled “collectAssets?”
optionalcollectAssets?:LoadedSceneAssets
Defined in: scene.ts:80
onMissingAssets?
Section titled “onMissingAssets?”
optionalonMissingAssets?: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.
onProgress?
Section titled “onProgress?”
optionalonProgress?:SceneLoadProgressCallback
Defined in: scene.ts:81