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