Skip to main content

Sprite.associatedAlphaSplitTexture

"Read-Only"

This property is Read-Only

NameType
associatedAlphaSplitTextureTexture2D

Description

Returns the Texture that contains the alpha channel from the source Texture. Unity generates this Texture under the hood for Sprites that have alpha in the source, and need to be compressed using techniques like ETC1.

Extra Detail

Returns NULL if there is no associated alpha Texture for the source Sprite. This is the case if the Sprite has not been setup to use ETC1 compression.