GetCameraClearColor

From MaratisWiki
Jump to: navigation, search

getCameraClearColor(object)

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

  • object : object to operate on
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