Variable SYSTEMConst

SYSTEM: {
    isIphone: boolean;
    isTouchEnabled: ResolvableBoolean;
    isWebGLSupported: boolean;
    loaded: boolean;
    maxTextureWidth: number;
    pixelRatio: number;
    get maxCanvasWidth(): number;
} = ...

General information about the system

Type declaration

  • isIphone: boolean

    If the current device is an iPhone

  • isTouchEnabled: ResolvableBoolean

    Device supports touch events

  • isWebGLSupported: boolean

    Device supports WebGL

  • loaded: boolean

    Indicates if the system data has been loaded

  • maxTextureWidth: number

    Maximum WebGL texture width

  • pixelRatio: number

    Device screen pixel ratio

  • get maxCanvasWidth(): number

    Maximum canvas width