Method SetTextureImporterAlpha
SetTextureImporterAlpha(Texture2D, Boolean)
Set the texture alphaIsTransparency value.
Declaration
public static void SetTextureImporterAlpha(Texture2D texture, bool alphaIsTransparency)
Parameters
| Type | Name | Description |
|---|---|---|
| Texture2D | texture | Texture. |
| Boolean | alphaIsTransparency | alphaIsTransparency option to set. |