colorMaterialType Enumeration

The color material type.
Members
 
  Member name Description
Disabled Color material disabled.
FrontAndBackFaceAmbient The color applies to the ambient component of both front and back faces.
FrontAndBackFaceDiffuse The color applies to the diffuse component of both front and back faces.
FrontFaceAmbient The color applies only to the ambient component of front faces.
FrontFaceDiffuse The color applies only to the diffuse component of front faces.
Remarks
 
Call RenderContextBase.SetColorMaterial to set the color and make it work properly for DirectX renderer.

In this article

Definition