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

Property Value

Color3

Implements

IDiffuseMaterialDiffuseColor
See Also