Whether to override editor configuration with settings and data from the scene file. Defaults to false.
waitForResources?
boolean
Whether to wait for all resources to finish loading before resolving. Defaults to false.
onProgress?
(percent) => void
Receives the percentage of the archive that the engine has read, from 0 to 100, once for each whole percent. In a browser with the features/fileSystemUsageEnabled setting on, the engine reports each percent while it streams a large archive, such as an archive in OPFS. An archive that is already in memory, such as a blob URL or a small file, reports only 100. Node.js and a scene file give no call. The call with 100 comes before the scene loads, so the returned promise can still reject after it.
abortSignal?
AbortSignal
Stops the load when it aborts. The promise then rejects with Error('AbortSignal received'), and the engine stops the download, unless a block or another call needs the same file. The current scene stays, unless the new scene replaced it already, as it does before a wait for its resources.