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: 2023.1.3.0 (2023.1.3)
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 OIV.Inventor.SoSceneManager.Render() is called. 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 OIV.Inventor.SoSceneManager.SetBackgroundColor(OIV.Inventor.SbColor).

See Also