Skip to content
EN

Interface: RuntimeAppHandle ​

Properties ​

PropertyTypeDescription
sceneSceneInstance-
appApplication-
audio?RuntimeAppAudioActive audio mixer, when the app config provides one (docs/142 S2).

Methods ​

loadScene()? ​

ts
loadScene?(ref): void;

Requests a scene switch by asset ref/alias (docs/154 S2).

Parameters ​

ParameterType
refstring

Returns ​

void


resize()? ​

ts
resize?(width?, height?): void;

Parameters ​

ParameterType
width?number
height?number

Returns ​

void


destroy() ​

ts
destroy(): void;

Returns ​

void

Suity 开发者文档 · API 由 TypeDoc 从声明文件生成