SoMaterialElementGetDiffuse 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[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the getDiffuse() method that takes a Face parameter instead.")]
public static SbColor GetDiffuse(
SoState state,
int index
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the getDiffuse() method that takes a Face parameter instead.")>
Public Shared Function GetDiffuse (
state As SoState,
index As Integer
) As SbColor
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"Obsolete since Open Inventor 2025.1. Use the getDiffuse() method that takes a Face parameter instead.")]
static SbColor GetDiffuse(
SoState^ state,
int index
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the getDiffuse() method that takes a Face parameter instead.")>]
static member GetDiffuse :
state : SoState *
index : int -> SbColor
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- index
- Type: SystemInt32
Return Value
Type:
SbColor
Remarks Caution |
---|
Obsolete since Open Inventor 2025.1. Use the OIV.Inventor.Elements.SoMaterialElement.GetDiffuse(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoMaterialElement.Faces, System.Int32) method that takes a Face parameter instead. |
See Also