# Sandbox.Fog.MaxDistance

```csharp
float MaxDistance { get; set; }
```

Distance used to evaluate background fog where the sky has no finite surface depth.

Declared in [Sandbox.Fog](/api/Sandbox.Fog).
Assembly: `Sandbox.Engine`.
