LoadRuntimeSceneOptions
此内容尚不支持你的语言。
Defined in: runtime/runtimeLoader.ts:191
Properties
Section titled “Properties”app:
App
Defined in: runtime/runtimeLoader.ts:197
externalEntities?
Section titled “externalEntities?”
optionalexternalEntities?:ReadonlyMap<number,number>
Defined in: runtime/runtimeLoader.ts:194
Authored ids this scene may reference in ANOTHER document — the persistent rows a streamed cell names. See SceneLoadOptions.externalEntities.
module
Section titled “module”module:
ESEngineModule|null
Defined in: runtime/runtimeLoader.ts:200
The wasm module, or null on a native host — the engine core is arm64 there, so there is no Module to reach through.
onPhase?
Section titled “onPhase?”
optionalonPhase?: (phase,ms) =>void
Defined in: runtime/runtimeLoader.ts:196
Where this load spent its time. See SceneLoadOptions.onPhase.
Parameters
Section titled “Parameters”string
number
Returns
Section titled “Returns”void
physics3dModule?
Section titled “physics3dModule?”
optionalphysics3dModule?:Physics3DWasmModule
Defined in: runtime/runtimeLoader.ts:214
An already-resolved 3D physics module, for tests and headless hosts.
physicsConfig?
Section titled “physicsConfig?”
optionalphysicsConfig?:Physics2DPluginConfig
Defined in: runtime/runtimeLoader.ts:208
Project-declared physics world config (gravity, solver tuning, collision-layer masks, sleep/continuous toggles) — threaded from the editor’s Project Settings.
physicsEnabled?
Section titled “physicsEnabled?”
optionalphysicsEnabled?:boolean
Defined in: runtime/runtimeLoader.ts:212
Project-declared physics enable (.uproject features analog) — installs
physics even for runtime-spawned bodies the static scene doesn’t show.
OR-combined with a content scan.
physicsModule?
Section titled “physicsModule?”
optionalphysicsModule?:PhysicsWasmModule|null
Defined in: runtime/runtimeLoader.ts:205
sceneData
Section titled “sceneData”sceneData:
SceneData
Defined in: runtime/runtimeLoader.ts:201
sceneName?
Section titled “sceneName?”
optionalsceneName?:string
Defined in: runtime/runtimeLoader.ts:222
source
Section titled “source”source:
RuntimeAssetSource
Defined in: runtime/runtimeLoader.ts:202
spineManager?
Section titled “spineManager?”
optionalspineManager?:SpineManager|null
Defined in: runtime/runtimeLoader.ts:204
spineModule?
Section titled “spineModule?”
optionalspineModule?:SpineWasmModule|null
Defined in: runtime/runtimeLoader.ts:203
uiTheme?
Section titled “uiTheme?”
optionaluiTheme?:"dark"|"light"
Defined in: runtime/runtimeLoader.ts:218
Project-declared UI theme (Project Settings → UI). Dark is the default; ‘light’ switches the token set AND re-resolves already-instantiated ThemeStyle-tagged widgets (prefab instances carry dark baked values).
uiThemeOverrides?
Section titled “uiThemeOverrides?”
optionaluiThemeOverrides?:ThemeOverrides
Defined in: runtime/runtimeLoader.ts:221
Project-declared partial re-skin over the base theme (Project Settings → UI theme colors); merged via resolveThemeTokens.