Partager via


DirectionalLight.Enabled Property

Gets or sets light enable flag.

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

Syntax

public bool Enabled { get; set; }

Property Value

The light enable flag.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP