# SetTextureSettings(SpriteAtlasTextureSettings)

> Sets the SpriteAtlasTextureSettings for the packed Texture generated by this SpriteAtlas.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.U2D](/engine/6000.7/script-reference/unityeditor/u2d.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** SetTextureSettings is no longer supported and will be removed. Use SpriteAtlasImporter.SetTextureSettings instead.

```csharp
public void SetTextureSettings(SpriteAtlasTextureSettings src)
```

### Parameters

**** (\[SpriteAtlasTextureSettings]\(/engine/6000.7/script-reference/unityeditor/u2d/spriteatlastexturesettings)):&#x20;
