SetCameraClearColor
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) m |
||
| Line 1: | Line 1: | ||
| + | {{lua-function|setCameraClearColor|object, color}} | ||
| + | |||
Set the background color. | Set the background color. | ||
Revision as of 17:17, 8 February 2014
setCameraClearColor(object, color)
Set the background color.
Camera = getCurrentCamera()
-- Set background color to black
setCameraClearColor(Camera, {0, 0, 0})