Eyeshot 10 WinForms API Reference
SetMaterialFrontAmbientAndDiffuse Method

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.
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

Reference

RenderContextBase Class
RenderContextBase Members