Directional | |
public class DirectionalLight : Light, IDirectionalLight, ILight, ISpecularColorLight
The DirectionalLight type exposes the following members.
| Name | Description | |
|---|---|---|
| DirectionalLight | Initializes a new instance of the DirectionalLight class. | |
| DirectionalLight(Vector3) | Initializes a new instance of the DirectionalLight class. | |
| DirectionalLight(Single, Single, Single) | Initializes a new instance of the DirectionalLight class. |
| Name | Description | |
|---|---|---|
| Direction | Gets or sets a Vector3 that specifies the direction of this light. Default value is new Vector3(0, 0, 1). | |
| SpecularColor | Gets or sets a Color3 that specifies the specular color of this light. |
| Name | Description | |
|---|---|---|
| GetNormalizedDirection | Returns the Direction vector normalized to unit length. | |
| ToString |
Returns a string that represents the current object.
(Overrides ObjectToString) |