Skip to content

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 class DirectionalLight : DirectionLightBase

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

Used in articles