lovr.graphics.getBackgroundColor
Returns the current background color. Color components are from 0.0 to 1.0.
r, g, b, a = lovr.graphics.getBackgroundColor()
Arguments
None
Returns
Name | Type | Description |
r | number | The red component of the background color. |
g | number | The green component of the background color. |
b | number | The blue component of the background color. |
a | number | The alpha component of the background color. |
Notes
The default background color is (0.0, 0.0, 0.0, 1.0)
.
See also
lovr.graphics.setBackgroundColor
lovr.graphics