Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / RenderContextBase Class / SetColorDiffuse Method
The front material color
The back material color
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
    SetColorDiffuse Method
    In This Topic
    Sets the diffuse color of the front and back material.
    Syntax
    'Declaration
     
    Public Sub SetColorDiffuse( _
       ByVal color As Color, _
       ByVal backColor As Color, _
       Optional ByVal force As Boolean _
    ) 
    public void SetColorDiffuse( 
       Color color,
       Color backColor,
       bool force
    )

    Parameters

    color
    The front material color
    backColor
    The back material color
    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