Advanced
Optional
backgroundAlias for backgroundColor
Optional
backgroundTransparency of the background color, value from 0
(fully transparent) to 1
(fully opaque).
This value determines whether the canvas is initialized with alpha transparency support.
Note: This cannot be changed after initialization. If set to 1
, the canvas will remain opaque,
even if a transparent background color is set later.
The background color used to clear the canvas. See ColorSource for accepted color values.
Optional
clearWhether to clear the canvas before new render passes.
Options for the background system.