DirectionalLight Members
The following tables list the members exposed by the DirectionalLight type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
DirectionalLight | Creates a new DirectionalLight instance, with or without a copy of a DirectionalLight instance. |
Public Properties
Name | Description | |
---|---|---|
![]() |
DiffuseColor | Gets or sets the diffuse color of the light. |
![]() |
Direction | Gets or sets the light direction. This value must be a unit vector. |
![]() |
Enabled | Gets or sets light enable flag. |
![]() |
SpecularColor | Gets or sets the specular color of the light. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
See Also
Reference
DirectionalLight Class
Microsoft.Xna.Framework.Graphics Namespace