SetCameraClearColor

(Difference between revisions)
Jump to: navigation, search
(Created page with "Set the background color. Camera = getCurrentCamera() -- Set background color to black setCameraClearColor(Camera, {0, 0, 0})")
 
Line 4: Line 4:
 
  -- Set background color to black
 
  -- Set background color to black
 
  setCameraClearColor(Camera, {0, 0, 0})
 
  setCameraClearColor(Camera, {0, 0, 0})
 +
 +
[[Category:Lua scripting]]

Revision as of 19:11, 4 February 2014

Set the background color.

Camera = getCurrentCamera()
-- Set background color to black
setCameraClearColor(Camera, {0, 0, 0})
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox