# depth

> The depth of the texture (Read Only).

## Definition

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

```csharp
public int depth { get; }
```

### Remarks

Additional Resources: [Texture.width](/engine/6000.0/script-reference/unityengine/texture/width.md), [Texture.height](/engine/6000.0/script-reference/unityengine/texture/height.md).
