Skip to content

API > Sprite > associatedAlphaSplitTexture


Sprite.associatedAlphaSplitTexture⚓︎

Read-Only

Read-only Property This property is Read-Only

Name Type
associatedAlphaSplitTexture Texture2D

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.