RenderContextBase.SetMaterialFrontAndBackDiffuse Method

Sets the front and back faces diffuse material color.
Public Sub SetMaterialFrontAndBackDiffuse( _ 
ByVal color As Color, _ 
Optional ByVal force As Boolean = false _ 
)
This language is not supported or no code example is available.
public void SetMaterialFrontAndBackDiffuse( 
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