Export (0) Print
Expand All

IEffectLights Interface

Gets or sets lighting parameters for the current effect.

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

'Declaration
Public Interface IEffectLights

The IEffectLights type exposes the following members.

  NameDescription
Public propertyAmbientLightColorGets or sets the ambient light color for the current effect.
Public propertyDirectionalLight0Gets the first directional light for the current effect.
Public propertyDirectionalLight1Gets the second directional light for the current effect.
Public propertyDirectionalLight2Gets the third directional light for the current effect.
Public propertyLightingEnabledEnables or disables lighting in an IEffectLights.
Top

  NameDescription
Public methodEnableDefaultLightingEnables default lighting for the current effect.
Top

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:
© 2014 Microsoft