Click or drag to resize
SoSceneManagerSetRGBMode Method

Defines the color mode (true - RGB mode, false - color map mode).

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public void SetRGBMode(
	bool onOrOff
)

Parameters

onOrOff
Type: SystemBoolean
Remarks

Default is RGB mode. Only a subset of Open Inventor nodes will render correctly in color map mode. Basically, when in color index mode, lighting should be turned off (the model field of OIV.Inventor.Nodes.SoLightModel should be set to BASE_COLOR ), and the OIV.Inventor.Nodes.SoColorIndex node should be used to specify colors.

See Also