# Sandbox.SceneCamera.Fog

```csharp
System.Nullable<FogSetup> Fog { get; set; }
```

Camera-local fog resolved from Fog components. Null preserves the legacy gradient and
cubemap fog. A disabled setup with full weight explicitly clears those fog layers.
CameraComponent refreshes this value during rendering setup; use its Fog components
for persistent settings or ViewSetup.Fog for an individual capture override.

Declared in [Sandbox.SceneCamera](/api/Sandbox.SceneCamera).
Assembly: `Sandbox.Engine`.
