SoMaterialElementGetColorIndex Method (SoState, Int32) |
Note: This API is now obsolete.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2025.1.0.0 (10.17.0.0)
Syntax[ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the getColorIndex() method that takes a Face parameter instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static int GetColorIndex(
SoState state,
int num
)
<ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the getColorIndex() method that takes a Face parameter instead.")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Function GetColorIndex (
state As SoState,
num As Integer
) As Integer
public:
[ObsoleteAttribute(L"Obsolete since Open Inventor 2025.1. Use the getColorIndex() method that takes a Face parameter instead.")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
static int GetColorIndex(
SoState^ state,
int num
)
[<ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the getColorIndex() method that takes a Face parameter instead.")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member GetColorIndex :
state : SoState *
num : int -> int
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- num
- Type: SystemInt32
Return Value
Type:
Int32
Remarks Caution |
---|
Obsolete since Open Inventor 2025.1. Use the OIV.Inventor.Elements.SoMaterialElement.GetColorIndex(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoMaterialElement.Faces, System.Int32) method that takes a Face parameter instead. |
See Also