Click or drag to resize
SoOffscreenRendererSetBackgroundColor Method

Sets the RGB background color for rendering.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public void SetBackgroundColor(
	SbColor c
)

Parameters

c
Type: OIV.InventorSbColor
Remarks

The default is (0,0,0) = opaque black. 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. See also setBackgroundColorRGBA().

See Also