Interface AppBaseOptions

interface AppBaseOptions {
    autoStart?: boolean;
    container?: string | HTMLElement;
    enableTweenManager?: boolean;
    isTemp?: boolean;
    offscreenCanvas?: {
        height: number;
        width: number;
    };
}

Hierarchy (view full)

Properties

autoStart?: boolean

是否自动开始,默认true

container?: string | HTMLElement

应用容器

enableTweenManager?: boolean

启动tween管理 默认true

isTemp?: boolean

是否是临时创建的app对象

offscreenCanvas?: {
    height: number;
    width: number;
}

离屏渲染画布参数

Type declaration

  • height: number
  • width: number