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