跳转到内容

PlayableRuntimeConfig

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

Defined in: runtime/playableRuntime.ts:26

app: App

Defined in: runtime/playableRuntime.ts:27


optional assetPathMap?: Record<string, string>

Defined in: runtime/playableRuntime.ts:38

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:30


optional audioConfig?: AudioProjectConfig

Defined in: runtime/playableRuntime.ts:53

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


canvas: HTMLCanvasElement

Defined in: runtime/playableRuntime.ts:29


optional depthLayers?: number

Defined in: runtime/playableRuntime.ts:57

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


firstScene: string

Defined in: runtime/playableRuntime.ts:40


optional manifest?: AddressableManifest | null

Defined in: runtime/playableRuntime.ts:58


module: ESEngineModule

Defined in: runtime/playableRuntime.ts:28


optional physicsConfig?: Physics2DPluginConfig

Defined in: runtime/playableRuntime.ts:47

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:43

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:39

data: SceneData

name: string


optional uiTheme?: "dark" | "light"

Defined in: runtime/playableRuntime.ts:49

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


optional uiThemeOverrides?: ThemeOverrides

Defined in: runtime/playableRuntime.ts:51

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


optional ySortLayers?: number

Defined in: runtime/playableRuntime.ts:55

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