Properties:
Name | Type | Description |
---|---|---|
antialias |
boolean |
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. |
depth |
boolean |
Whether to ensure the main view has can make use of the depth buffer. Always true for WebGL renderer. |
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
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.
Whether to ensure the main view has can make use of the depth buffer. Always true for WebGL renderer.
The height of the screen.
TODO: multiView
The resolution / device pixel ratio of the renderer.
view ICanvas Deprecated
The width of the screen.