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
WebGL Only. Whether to enable anti-aliasing. This may affect performance.
Resizes renderer view in CSS pixels to allow for resolutions other than 1.
canvas ICanvas
The canvas to use as a view, optional.
The height of the screen.
TODO: multiView
The resolution / device pixel ratio of the renderer.
view ICanvas Deprecated
The width of the screen.