SoMaterialElementSetAmbient Method (SoState, SoNode, SbColor) |
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 setAmbient() method that takes a Face parameter instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static void SetAmbient(
SoState state,
SoNode node,
SbColor color
)
<ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the setAmbient() method that takes a Face parameter instead.")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Sub SetAmbient (
state As SoState,
node As SoNode,
color As SbColor
)
public:
[ObsoleteAttribute(L"Obsolete since Open Inventor 2025.1. Use the setAmbient() method that takes a Face parameter instead.")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
static void SetAmbient(
SoState^ state,
SoNode^ node,
SbColor color
)
[<ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the setAmbient() method that takes a Face parameter instead.")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member SetAmbient :
state : SoState *
node : SoNode *
color : SbColor -> unit
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- node
- Type: OIV.Inventor.NodesSoNode
- color
- Type: OIV.InventorSbColor
Remarks Caution |
---|
Obsolete since Open Inventor 2025.1. Use the OIV.Inventor.Elements.SoMaterialElement.SetAmbient(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoMaterialElement.Faces, OIV.Inventor.Nodes.SoNode, OIV.Inventor.SbColor) method that takes a Face parameter instead. |
See Also