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.1.1.0 (2024.1.1)
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