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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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