Eyeshot 11 WinForms API Reference
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.

In This Topic
    SetColorMaterial Method (RenderContextBase)
    In This Topic
    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