Bagikan melalui


IEffectLights Members

The following tables list the members exposed by the IEffectLights type.

Public Properties

Name Description
Public Property AmbientLightColor Gets or sets the ambient light color for the current effect.
Public Property DirectionalLight0 Gets the first directional light for the current effect.
Public Property DirectionalLight1 Gets the second directional light for the current effect.
Public Property DirectionalLight2 Gets the third directional light for the current effect.
Public Property LightingEnabled Property Enables or disables lighting in an IEffectLights.

Public Methods

Name Description
Public Method EnableDefaultLighting Enables default lighting for the current effect.

See Also

Reference

IEffectLights Interface
Microsoft.Xna.Framework.Graphics Namespace