# GetAllowsAlphaSplitting()

> Getter for the flag that allows Alpha splitting on the imported texture when needed (for example ETC1 compression for textures with transparency).

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** Use UnityEditor.TextureImporter.GetPlatformTextureSettings() instead.

```csharp
public bool GetAllowsAlphaSplitting()
```

### Returns

| Type                                                          | Description                                                                       |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the importer allows alpha split on the imported texture, False otherwise. |

### Remarks

This function has been deprecated, use [TextureImporter.GetPlatformTextureSettings](/engine/6000.0/script-reference/unityeditor/textureimporter/getplatformtexturesettings.md).
