IEffectLights Interface
Microsoft Silverlight will reach end of support after October 2021. Learn more.
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)
Syntax
'Declaration
Public Interface IEffectLights
public interface IEffectLights
The IEffectLights type exposes the following members.
Properties
Name | Description | |
---|---|---|
AmbientLightColor | Gets or sets the ambient light color for the current effect. | |
DirectionalLight0 | Gets the first directional light for the current effect. | |
DirectionalLight1 | Gets the second directional light for the current effect. | |
DirectionalLight2 | Gets the third directional light for the current effect. | |
LightingEnabled | Enables or disables lighting in an IEffectLights. |
Top
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.