Share via


DirectionalLight Members

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

Public Constructors

Name Description
Public Method DirectionalLight Creates a new DirectionalLight instance, with or without a copy of a DirectionalLight instance.

Public Properties

Name Description
Public Property DiffuseColor Gets or sets the diffuse color of the light.
Public Property Direction Gets or sets the light direction. This value must be a unit vector.
Public Property Enabled Gets or sets light enable flag.
Public Property SpecularColor Gets or sets the specular color of the light.

Public Methods

Name Description
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

DirectionalLight Class
Microsoft.Xna.Framework.Graphics Namespace