GetCameraClearColor
(Difference between revisions)
(Created page with "Returns the current background color for the camera as RGB table. Camera = getCurrentCamera() background = getCameraClearColor(Camera) red = background[1] green = backgro...") |
Dahnielson (Talk | contribs) |
||
Line 8: | Line 8: | ||
To set background color use [[setCameraClearColor]]. | To set background color use [[setCameraClearColor]]. | ||
+ | |||
+ | [[Category:Lua scripting]] |
Revision as of 18:11, 4 February 2014
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.