Click or drag to resize
Ab4d.SharpEngine logo

IDiffuseMaterial Interface

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

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public interface IDiffuseMaterial : ITransparentMaterial

The IDiffuseMaterial type exposes the following members.

Properties
 NameDescription
Public propertyDiffuseColor Gets or sets a Color3 that specifies the diffuse color of this material.
Public propertyIsPreMultipliedAlphaColor When IsPreMultipliedAlphaColor is true (false by default) and Opacity 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.
Public propertyOpacity Gets or sets a float value that defines the opacity for the material, for example 1 means fully opaque and 0 means fully transparent. Opacity can be also named Alpha color - used in Color4. Default value is 1.
Top
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Materials.IDiffuseMaterial"]

See Also