![]() | |
IDiffuse |
The IDiffuseMaterial type exposes the following members.
Name | Description | |
---|---|---|
![]() | Alpha | Gets a float value that defines the alpha value for the material. |
![]() | AmbientColor | Gets a Color3 that specifies an color that defines how much ambient color is reflected by this material. |
![]() | DiffuseColor | Gets a Color3 that specifies the diffuse color of this material. |
![]() | IsPreMultipliedAlphaColor | When IsPreMultipliedAlphaColor is true (false by default) and Alpha is less then 1, then the color components of the DiffuseColor are already multiplied with alpha value to produce pre-multiplied colors. When false, then non-premultiplied color is converted in pre-multiplied color when this is required by the shader. |