# Sandbox.Rendering.FogSetup.DistanceMetric

```csharp
FogDistanceMetric DistanceMetric { get; set; }
```

Radial distance by default; ViewDepth measures along the camera's forward axis.

Declared in [Sandbox.Rendering.FogSetup](/api/Sandbox.Rendering.FogSetup).
Assembly: `Sandbox.Engine`.
