Interface: ViewSystemOptions

ViewSystemOptions

Options passed to the ViewSystem

Properties:
Name Type Description
antialias boolean

WebGL Only. Whether to enable anti-aliasing. This may affect performance.

autoDensity boolean

Resizes renderer view in CSS pixels to allow for resolutions other than 1.

canvas ICanvas

The canvas to use as a view, optional.

height number

The height of the screen.

multiView boolean

TODO: multiView

resolution number

The resolution / device pixel ratio of the renderer.

view ICanvas
width number

The width of the screen.

Members

antialias boolean

WebGL Only. Whether to enable anti-aliasing. This may affect performance.

autoDensity boolean

Resizes renderer view in CSS pixels to allow for resolutions other than 1.

canvas ICanvas

The canvas to use as a view, optional.

height number

The height of the screen.

multiView boolean

TODO: multiView

resolution number

The resolution / device pixel ratio of the renderer.

view ICanvas Deprecated

width number

The width of the screen.