Eyeshot 10 WinForms API Reference
SetMaterialFrontAndBackDiffuse Method

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

Reference

RenderContextBase Class
RenderContextBase Members