Partager via


DirectionalLight.DiffuseColor Property

Gets or sets the diffuse color of the light.

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

Syntax

public Vector3 DiffuseColor { get; set; }

Property Value

The diffuse color.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP