Click or drag to resize
SoPickedPointGetMaterialIndex Method

Returns the index into the current set of materials of the material active at the intersection point.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public int GetMaterialIndex()

Return Value

Type: Int32
Remarks

Note that if the materials are interpolated between vertices, the index will correspond to the material at one of the vertices.

See Also