# Sandbox.Texture.Depth

```csharp
int Depth { get; set; }
```

Depth of a 3D texture in pixels, or slice count for 2D texture arrays, or 6 for slices of cubemap.

Declared in [Sandbox.Texture](/api/Sandbox.Texture).
Assembly: `Sandbox.Engine`.
