sparkle-engine

Interface ISparkleEngineOption

interface ISparkleEngineOption {
    antialias?: boolean;
    backgroundColor?: Color;
    canvas: HTMLCanvasElement;
    disableDebugger?: boolean;
    height?: number;
    maxFPS?: number;
    pixelDensity?: number;
    scaleMode?: SCALE_MODE;
    width?: number;
}

Hierarchy (view full)

Properties

antialias?: boolean

是否启用抗锯齿

backgroundColor?: Color
canvas: HTMLCanvasElement

canvas

disableDebugger?: boolean
height?: number
maxFPS?: number
pixelDensity?: number
scaleMode?: SCALE_MODE
width?: number