GetCameraClearColor

(Difference between revisions)
Jump to: navigation, search
TaeZ (Talk | contribs)
(Created page with "Returns the current background color for the camera as RGB table. Camera = getCurrentCamera() background = getCameraClearColor(Camera) red = background[1] green = backgro...")
Newer edit →

Revision as of 20:30, 13 March 2013

Returns the current background color for the camera as RGB table.

Camera = getCurrentCamera()
background = getCameraClearColor(Camera)
red = background[1]
green = background[2]
blue = background[3]

To set background color use setCameraClearColor.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox