Core. Config

Config Used to configure some global parameters. If you need to change, set up before you initialize the engine.

Constructor

new Config()

Member

(static) animationInterval :int

The default play interval for animation Animation is milliseconds.
Default Value:
  • 50

(static) atlasEnable :Boolean

Indicates whether the large collection function is used.

(static) isAlpha :Boolean

Sets whether the canvas is transparent and valid only for 2D (WebGL) and 3D.

(static) isAntialias :Boolean

Set whether antialiasing is valid only for 2D (WebGL) and 3D.

(static) isStencil :Boolean

Set stencil buffering for canvas, valid only for 2D (WebGL) and 3D.

(static) premultipliedAlpha :Boolean

Sets whether the canvas is pre - loaded and is valid only for 2D (WebGL) and 3D.

(static) preserveDrawingBuffer :Boolean

Do you want to force WebGL synchronous refresh?.

(static) showCanvasMark :Boolean

Whether to display canvas chart borders for debugging.

(static) WebGLTextCacheCount :int

Maximum amount of text cache in WebGL mode.
Default Value:
  • 500