| SoMaterialElementSetColorMaterial Method (SoState, SoNode, Boolean) | 
Note: This API is now obsolete.
 
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2025.2.0.0 (10.18.0.0)
Syntax[ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the setColorMaterial() method that takes a Face parameter instead.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static void SetColorMaterial(
	SoState state,
	SoNode node,
	bool value
)<ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the setColorMaterial() method that takes a Face parameter instead.")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Sub SetColorMaterial ( 
	state As SoState,
	node As SoNode,
	value As Boolean
)public:
[ObsoleteAttribute(L"Obsolete since Open Inventor 2025.1. Use the setColorMaterial() method that takes a Face parameter instead.")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
static void SetColorMaterial(
	SoState^ state, 
	SoNode^ node, 
	bool value
)
[<ObsoleteAttribute("Obsolete since Open Inventor 2025.1. Use the setColorMaterial() method that takes a Face parameter instead.")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member SetColorMaterial : 
        state : SoState * 
        node : SoNode * 
        value : bool -> unit 
Parameters
- state
 - Type: OIV.Inventor.MiscSoState
 - node
 - Type: OIV.Inventor.NodesSoNode
 - value
 - Type: SystemBoolean
 
Remarks  Caution | 
|---|
Obsolete since Open Inventor 2025.1. Use the OIV.Inventor.Elements.SoMaterialElement.SetColorMaterial(OIV.Inventor.Misc.SoState, OIV.Inventor.Elements.SoMaterialElement.Faces, OIV.Inventor.Nodes.SoNode, System.Boolean) method that takes a Face parameter instead.    | 
See Also