# SetVariantScale(float)

> Sets the value used to downscale the Master's Texture.

## Definition

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

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

```csharp
public void SetVariantScale(float value)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The multiplier to downscale the Master Atlas's Texture by, the recommended range  is from \[0.1 \~ 0.99].

### Remarks

While packing a Variant [SpriteAtlas](/engine/6000.5/script-reference/unityengine/u2d/spriteatlas.md), the Master Atlas's packed Texture is duplicated and downscaled according to this value. The resulting new Texture becomes this Atlas's packed Texture.
