Share via


LightingEnabled Property

Enables or disables lighting in an IEffectLights.

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

Syntax

public bool LightingEnabled { get; set; }

Property Value

True to enable lighting; false otherwise.

See Also

Reference

IEffectLights Interface
IEffectLights Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP