# maxSubTextureSize

> Specifies the maximum size (width/height) of a texture that can be added to the atlas. When DynamicAtlasSettings.activeFilters contains DynamicAtlasFilters.Size, textures larger than this size are excluded from the atlas. Otherwise, this value is not used.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.3/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public int maxSubTextureSize { get; set; }
```
