# Depth

> Clear only the depth buffer.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
Depth = 3
```

### Remarks

This will leave colors from the previous frame or whatever was displayed before. Additional Resources: [Camera.clearFlags](/engine/6000.6/script-reference/unityengine/camera/clearflags.md) property, [camera component](/engine/6000.6/manual/cameras/birp/class-camera.md).
