IEffectLights.EnableDefaultLighting Method

Enables default lighting for the current effect.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics.Extensions (in Microsoft.Xna.Framework.Graphics.Extensions.dll)

void EnableDefaultLighting()

A basic effect implements per-vertex lighting using three directional lights.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: