跳转到内容

PlayableRuntimeConfig

此内容尚不支持你的语言。

Defined in: runtime/playableRuntime.ts:29

app: App

Defined in: runtime/playableRuntime.ts:30


optional assetPathMap?: Record<string, string>

Defined in: runtime/playableRuntime.ts:41

Logical (source) path → embedded-asset key (@uuid:<id>), so path-style refs (a scene’s “assets/x.esmaterial”, a material’s rewritten logical refs) resolve to the inlined data. Applied as in-memory ALIASES onto the assets map — every channel (fetch, image decode, audio) reads that one map, and aliases share the data-URL strings (no payload duplication).


assets: Record<string, string>

Defined in: runtime/playableRuntime.ts:33


optional audioConfig?: AudioProjectConfig

Defined in: runtime/playableRuntime.ts:56

Project-declared mixer state (bus volumes / effects / duck rules).


canvas: HTMLCanvasElement

Defined in: runtime/playableRuntime.ts:32


optional depthLayers?: number

Defined in: runtime/playableRuntime.ts:60

Bitmask of render layers (0..31) that resolve by real depth (2.5D).


firstScene: string

Defined in: runtime/playableRuntime.ts:43


optional manifest?: AddressableManifest | null

Defined in: runtime/playableRuntime.ts:61


module: ESEngineModule

Defined in: runtime/playableRuntime.ts:31


optional physicsConfig?: Physics2DPluginConfig

Defined in: runtime/playableRuntime.ts:50

The physics world the project declared: gravity, solver, collision matrix. The FULL config, not a three-field subset: a collision matrix that reached Play and not a shipped build is a game that only collides in rehearsal.


optional physicsEnabled?: boolean

Defined in: runtime/playableRuntime.ts:46

Install physics even when the scene shows no bodies — a project that spawns them from script (Project Settings → Physics → Enabled).


scenes: object[]

Defined in: runtime/playableRuntime.ts:42

data: SceneData

name: string


optional uiTheme?: "light" | "dark"

Defined in: runtime/playableRuntime.ts:52

Project-declared UI theme; ‘light’ re-skins ThemeStyle-tagged widgets at boot.


optional uiThemeOverrides?: ThemeOverrides

Defined in: runtime/playableRuntime.ts:54

Project-declared theme token overrides (partial re-skin over the base).


optional ySortLayers?: number

Defined in: runtime/playableRuntime.ts:58

Bitmask of render layers (0..31) that y-sort within the layer (Project Settings → Rendering).