Skip to content
EN

Interface: SceneLoader ​

Low-level loader that builds a Pixi display tree.

Methods ​

loadScene() ​

ts
loadScene(document, context?): Promise<Container<ContainerChild>>;

Low-level API: builds a Pixi display tree and returns its root.

Parameters ​

ParameterType
documentSuitySceneDocument
context?SceneLoadContext

Returns ​

Promise<Container<ContainerChild>>


destroy() ​

ts
destroy(): void;

Returns ​

void

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