DirectionalLight class¶
Represents a light that illuminates the scene with parallel rays, as sunlight or moonlight does.
Namespace: Eremex.AvaloniaUI.Controls3D
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D
Declaration¶
Public Members¶
| name | description |
|---|---|
| DirectionalLight() | The default constructor. |
| Direction { get; set; } | Gets or sets the direction the rays travel in. The default value points along the negative Z axis, so the light illuminates surfaces that face the positive Z axis. |
See Also¶
- class DirectionLightBase
- namespace Eremex.AvaloniaUI.Controls3D