DirectionalLight Class

Creates a DirectionalLight object.

System.Object
  Microsoft.Xna.Framework.Graphics.DirectionalLight

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

public sealed class DirectionalLight

The DirectionalLight type exposes the following members.

  NameDescription
Public propertyDiffuseColorGets or sets the diffuse color of the light.
Public propertyDirectionGets or sets the light direction. This value must be a unit vector.
Public propertyEnabledGets or sets light enable flag.
Public propertySpecularColorGets or sets the specular color of the light.
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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show: