RenderContextBase.SetMaterialFrontAmbientAndDiffuse Method

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