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: 2023.1.3.0 (2023.1.3)
Syntax [ObsoleteAttribute("Obsolete since Open Inventor 8000. Use MaterialIndex property instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public int GetMaterialIndex()
<ObsoleteAttribute("Obsolete since Open Inventor 8000. Use MaterialIndex property instead.")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Function GetMaterialIndex As Integer
public:
[ObsoleteAttribute(L"Obsolete since Open Inventor 8000. Use MaterialIndex property instead.")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
int GetMaterialIndex()
[<ObsoleteAttribute("Obsolete since Open Inventor 8000. Use MaterialIndex property instead.")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
member GetMaterialIndex : unit -> int
Return Value
Type:
Int32See Also