Click or drag to resize
SoMaterialElementGetColorIndex Method (SoState, Int32)

Note: This API is now obsolete.

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2025.1.0.0 (10.17.0.0)
Syntax
[ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the getColorIndex() method that takes a Face parameter instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static int GetColorIndex(
	SoState state,
	int num
)

Parameters

state
Type: OIV.Inventor.MiscSoState
num
Type: SystemInt32

Return Value

Type: Int32
Remarks

Caution note Caution

Obsolete since Open Inventor 2025.1. Use the OIV.Inventor.Elements.SoMaterialElement.GetColorIndex(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoMaterialElement.Faces, System.Int32) method that takes a Face parameter instead.

See Also