SceneDistantLight Class

A light infinitely far away, whose rays are parallel: feDistantLight of SVG.

public sealed class SceneDistantLight : SceneLightSource
Inheritance
SceneLightSource SceneDistantLight

Constructors

NameDescription
SceneDistantLight(double, double)Initializes a new instance of the SceneDistantLight class.

SceneDistantLight(double, double)

SceneDistantLight.cs

Initializes a new instance of the SceneDistantLight class.

public SceneDistantLight(double azimuth, double elevation)

Parameters

azimuth double
The direction of the light in the plane, in degrees clockwise from the x axis: azimuth.
elevation double
The angle of the light above the plane, in degrees: elevation.

Exceptions

ArgumentException
An angle is not a finite number.

Properties

NameDescription
AzimuthGets the direction of the light in the plane, in degrees.
ElevationGets the angle of the light above the plane, in degrees.

Gets the direction of the light in the plane, in degrees.

public double Azimuth { get; }

Property value

double

Gets the angle of the light above the plane, in degrees.

public double Elevation { get; }

Property value

double