BasicEffect.DiffuseColor Property

Gets or sets the diffuse color of this effect material. Value takes 0 to 1.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public Vector3 DiffuseColor { get; set; }

Property Value

The diffuse color of this effect material. Valid values are between 0 and 1.

See Also

Reference

BasicEffect Class
BasicEffect Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista