RenderContextBase.SetMaterial (Color, Color, Color, Color, Single, Boolean) Method
Parameters
- diffuseFront
- Color
Diffuse front face material color
- diffuseBack
- Color
Diffuse back face material color
- ambient
- Color
Ambient color for front and back faces
- specular
- Color
Specular color
- shininess
- float
Shininess color
- force
- bool
If true sets the colors regardless of the current ones, else sets them only if they are different from the current ones.