SoSceneManagerSetBackgroundColor Method |
Sets the window background color when in RGB mode.
Namespace: OIV.Inventor
This is the color the scene manager viewport is cleared to when render() is called with its clearWindow parameter set to true . Default is black (0,0,0). See also setBackgroundColorRGBA().
Setting the background color will automatically call the scheduleRedraw() method.
The default value can be set using the environment variable OIV_BACKGROUND_COLOR. Specify three floats (R, G, B) in the range 0. to 1., separated by spaces.