Version: 2023.2
言語: 日本語

Sprite.associatedAlphaSplitTexture

マニュアルに切り替える
public Texture2D associatedAlphaSplitTexture ;

説明

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.

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.