SetCameraClearColor
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
| Line 6: | Line 6: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
| + | [[Category:Lua function]] | ||
| + | [[Category:Camera]] | ||
Revision as of 18:41, 4 February 2014
Set the background color.
Camera = getCurrentCamera()
-- Set background color to black
setCameraClearColor(Camera, {0, 0, 0})