SceneDistantLight Class
A light infinitely far away, whose rays are parallel: feDistantLight of SVG.
public sealed class SceneDistantLight : SceneLightSource- Inheritance
SceneLightSourceSceneDistantLight
Constructors
| Name | Description |
|---|---|
| SceneDistantLight(double, double) | Initializes a new instance of the SceneDistantLight class. |
SceneDistantLight(double, double)
SceneDistantLight.csInitializes a new instance of the SceneDistantLight class.
Parameters
azimuthdouble- The direction of the light in the plane, in degrees clockwise from the x axis:
azimuth. elevationdouble- The angle of the light above the plane, in degrees:
elevation.
Exceptions
ArgumentException- An angle is not a finite number.
Properties
| Name | Description |
|---|---|
| Azimuth | Gets the direction of the light in the plane, in degrees. |
| Elevation | Gets the angle of the light above the plane, in degrees. |