Eyeshot 9.0 WinForms API Reference
SetColorMaterial Method (RenderContextBase)

WinForms Assembly > devDept.Graphics Namespace > RenderContextBase Class : SetColorMaterial Method
The color to set
If true sets the color regardless of the current one, else sets it only if it's different from the current one.
Sets the color to the diffuse component of the front and back faces, depending on the ColorMaterialMode status.
Syntax
'Declaration
 
Public MustOverride Sub SetColorMaterial( _
   ByVal color As Color, _
   Optional ByVal force As Boolean _
) 
public abstract void SetColorMaterial( 
   Color color,
   bool force
)

Parameters

color
The color to set
force
If true sets the color regardless of the current one, else sets it only if it's different from the current one.
See Also

Reference

RenderContextBase Class
RenderContextBase Members