# Sandbox.Rendering.FogDistanceMetric.ViewDepth

```csharp
static FogDistanceMetric ViewDepth
```

Distance along the camera's forward axis.

Declared in [Sandbox.Rendering.FogDistanceMetric](/api/Sandbox.Rendering.FogDistanceMetric).
Assembly: `Sandbox.Engine`.
