RenderContextBase.SetColorDiffuse Method
Sets the diffuse color of the front and back material.
Public Sub SetColorDiffuse( _
ByVal color As Color, _
ByVal backColor As Color, _
Optional ByVal force As Boolean = false _
)
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
color
-
Color
The front material color
-
backColor
-
Color
The back material 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