SoPrimitiveVertexGetMaterialIndex Method |
Note: This API is now obsolete.
Use MaterialIndex property instead.
Returns the index into the current set of materials of the material active at
the vertex.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Obsolete since Open Inventor 8000. Use MaterialIndex property instead.")]
public int GetMaterialIndex()
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("Obsolete since Open Inventor 8000. Use MaterialIndex property instead.")>
Public Function GetMaterialIndex As Integer
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"Obsolete since Open Inventor 8000. Use MaterialIndex property instead.")]
int GetMaterialIndex()
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Obsolete since Open Inventor 8000. Use MaterialIndex property instead.")>]
member GetMaterialIndex : unit -> int
Return Value
Type:
Int32See Also