Click or drag to resize
AB4D logo

IDiffuseMaterial Interface

IDiffuseMaterial interface defines properties that define a material that reflect diffuse light.

Namespace: Ab3d.DirectX.Materials
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public interface IDiffuseMaterial : ITransparentMaterial

The IDiffuseMaterial type exposes the following members.

Properties
 NameDescription
Public propertyAlpha Gets a float value that defines the alpha value for the material.
Public propertyAmbientColor Gets a Color3 that specifies an color that defines how much ambient color is reflected by this material.
Public propertyDiffuseColor Gets a Color3 that specifies the diffuse color of this material.
Public propertyIsPreMultipliedAlphaColor 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.
Top
See Also