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

    Parameters

    color
    The 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