GetCameraClearColor
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
Line 10: | Line 10: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:Camera]] |
Revision as of 18:40, 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.