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