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: 2023.1.3.0 (2023.1.3)
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