# DirectionalLight.Direction property

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.

**Namespace:** [`Eremex.AvaloniaUI.Controls3D`](../index.md)  
**Assembly:** `Eremex.Avalonia.Controls3D.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls3D](https://www.nuget.org/packages/Eremex.Avalonia.Controls3D)

## Declaration

```csharp
public Vector3 Direction { get; set; }
```

## See Also

* class [DirectionalLight](../DirectionalLight.md)
* namespace [Eremex.AvaloniaUI.Controls3D](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
