In This Topic
Sets the diffuse color of the front and back material.
Syntax
'Declaration
Public Sub SetColorDiffuse( _
ByVal As Color, _
ByVal As Color, _
Optional ByVal As Boolean _
)
public void SetColorDiffuse(
Color ,
Color ,
bool
)
Parameters
- color
- The front material color
- backColor
- The back material 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