Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
antialias |
boolean |
<optional> |
false
|
Whether to enable anti-aliasing. This may affect performance. |
autoDensity |
boolean |
<optional> |
false
|
Resizes renderer view in CSS pixels to allow for resolutions other than 1. |
backgroundAlpha |
number |
<optional> |
The alpha of the background. |
|
canvas |
ICanvas |
<optional> |
The canvas to use as a view, optional. |
|
depth |
boolean |
<optional> |
Whether to ensure the main view has can make use of the depth buffer. Always true for WebGL renderer. |
|
height |
number |
<optional> |
600
|
The height of the screen. |
multiView |
boolean |
<optional> |
TODO: multiView |
|
resolution |
number |
<optional> |
The resolution / device pixel ratio of the renderer. |
|
width |
number |
<optional> |
800
|
The width of the screen. |
backgroundAlpha |
number |
1
|
Transparency of the background color, value from |
|
view |
ICanvas |
Members
Whether to enable anti-aliasing. This may affect performance.
- Default Value:
- false
Resizes renderer view in CSS pixels to allow for resolutions other than 1.
- Default Value:
- false
The alpha of the background.
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.
- Default Value:
- 600
TODO: multiView
The resolution / device pixel ratio of the renderer.
The width of the screen.
- Default Value:
- 800
Transparency of the background color, value from 0
(fully transparent) to 1
(fully opaque).
- Default Value:
- 1