Open topic with navigation
<viz>.clearcolor
This command sets the background clear color
<viz>.clearcolor( |
|
red |
green |
blue |
) |
|
red
Specifies the amount of red to combine into the clear color (0.0 - 1.0)
green
Specifies the amount of green to combine into the clear color (0.0 - 1.0)
blue
Specifies the amount of blue to combine into the clear color (0.0 - 1.0)
Remarks
This command sets the background color.
Return Value
None
Example
# Clear screen to bright red
viz.clearcolor(1, 0, 0)