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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public Color3 DiffuseColor { get; set; }

Property Value

Color3

Implements

IDiffuseMaterialDiffuseColor
See Also