Click or drag to resize
SoMPEGRendererSetBackgroundColor Method

Sets the background color for rendering each frame.

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

Parameters

c
Type: OIV.InventorSbColor
Remarks

The default background color is 0 0 0 (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