SetCameraClearColor
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) m |
Dahnielson (Talk | contribs) m |
||
Line 2: | Line 2: | ||
Set the background color. | Set the background color. | ||
+ | |||
+ | {{lua-function-param|object|object to operate on}} | ||
+ | {{lua-function-param|color|rgb color table}} | ||
Camera = getCurrentCamera() | Camera = getCurrentCamera() |
Latest revision as of 00:07, 9 February 2014
setCameraClearColor(object, color)
Set the background color.
-
object
: object to operate on -
color
: rgb color table
Camera = getCurrentCamera() -- Set background color to black setCameraClearColor(Camera, {0, 0, 0})