Click or drag to resize
Ab4d.SharpEngine logo

StandardMaterialBaseDiffuseColor Property

Gets or sets a Color3 that specifies the diffuse color of this material. Default value is Black. But when the DiffuseTexture is set and the user does not set the DiffuseColor, then the DiffuseColor is automatically set to White color to preserve the colors in the texture.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public Color3 DiffuseColor { get; set; }

Property Value

Color3

[Missing <value> documentation for "P:Ab4d.SharpEngine.Materials.StandardMaterialBase.DiffuseColor"]

Implements

IDiffuseMaterialDiffuseColor
Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Materials.StandardMaterialBase.DiffuseColor"]

See Also