GetCameraClearColor

From MaratisWiki
Revision as of 20:30, 13 March 2013 by TaeZ (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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