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: 2024.2.2.0 (10.16.2.0)
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