Click or drag to resize
SoSceneManagerSetRGBMode Method

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

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
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 SoLightModel should be set to BASE_COLOR ), and the SoColorIndex node should be used to specify colors.

See Also