# Camera.MinDistance property

Gets or sets the shortest distance allowed between the camera and its target. If the value is not a positive number, the control derives the distance from the size of the scene.

**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 float MinDistance { get; set; }
```

## See Also

* class [Camera](../Camera.md)
* namespace [Eremex.AvaloniaUI.Controls3D](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls3D.dll -->
