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