RenderContextBase.SetMaterialFrontDiffuse (Color, Boolean) Method

Sets the front faces diffuse material color.
Public Sub SetMaterialFrontDiffuse( _ 
ByVal color As Color, _ 
Optional ByVal force As Boolean = false _ 
)
This language is not supported or no code example is available.
public void SetMaterialFrontDiffuse( 
Color color
bool force = false 
)
This language is not supported or no code example is available.

Parameters

color
Color

The color

force
bool

If true sets the color regardless of the current one, else sets it only if it's different from the current one.

.NET Framework

Supported in: 4.8

In this article

Definition