GetCameraClearColor
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
Line 1: | Line 1: | ||
+ | {{lua-function|getCameraClearColor|object}} | ||
+ | |||
Returns the current background color for the camera as RGB table. | Returns the current background color for the camera as RGB table. | ||
Revision as of 17:14, 8 February 2014
getCameraClearColor(object)
Returns the current background color for the camera as RGB table.
Camera = getCurrentCamera() background = getCameraClearColor(Camera) red = background[1] green = background[2] blue = background[3]
To set background color use setCameraClearColor.