Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
background |
ColorSource |
<optional> |
Alias for backgroundColor |
|
backgroundAlpha |
number |
<optional> |
1
|
Transparency of the background color, value from |
backgroundColor |
ColorSource |
<optional> |
'black'
|
The background color used to clear the canvas. See ColorSource for accepted color values. |
clearBeforeRender |
boolean |
<optional> |
true
|
Whether to clear the canvas before new render passes. |
Members
Alias for backgroundColor
Transparency of the background color, value from 0
(fully transparent) to 1
(fully opaque).
- Default Value:
- 1
The background color used to clear the canvas. See ColorSource for accepted color values.
- Default Value:
- 'black'
Whether to clear the canvas before new render passes.
- Default Value:
- true