|  | |
| Directional | |
 Inheritance Hierarchy
Inheritance Hierarchy Syntax
Syntaxpublic class DirectionalLight : LightBase, IDirectionalLight, ILight, IShadowCastingLight
The DirectionalLight type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | DirectionalLight | Initializes a new instance of the DirectionalLight class. | 
|  | DirectionalLight(Vector3) | Initializes a new instance of the DirectionalLight class. | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | DiffuseColor | Gets or sets a Color3 that specifies the diffuse color of this light. | 
|  | Direction | Gets or sets a Vector3 that specifies the direction of this light. | 
|  | IsCastingShadow | Gets or sets a Booleans that specifies if this light casts a shadow. | 
|  | SpecularColor | Gets or sets a Color3 that specifies the specular color of this light. | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | ToString | Returns a string that represents the current object. (Overrides ObjectToString) | 
 See Also
See Also