SetCameraClearColor

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
m
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})
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox