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

Property Value

Color3

Implements

IDiffuseMaterialDiffuseColor
See Also