Click or drag to resize
SoSceneManagerSetBackgroundColorRGBA Method

Defines the window background color when in RGBA mode.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public void SetBackgroundColorRGBA(
	SbColorRGBA color
)

Parameters

color
Type: OIV.InventorSbColorRGBA

RGBA background color

Remarks

This is the color the scene manager viewport is cleared to when render() is called with its clearWindow parameter set to true . Default is transparent black (0,0,0,0).

The default RGB color (but NOT alpha) can be set using the environment variable OIV_BACKGROUND_COLOR or by calling setBackgroundColor().

See Also