SetMaterialFrontAmbientAndDiffuse Method
In This Topic
Sets the material front color ambient and diffuse properties.
Syntax
'Declaration
Public Sub SetMaterialFrontAmbientAndDiffuse( _
ByVal As Color, _
Optional ByVal As Boolean _
)
public void SetMaterialFrontAmbientAndDiffuse(
Color ,
bool
)
Parameters
- color
- THe 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