Version: 2023.1

TextureImporter.alphaIsTransparency

切换到手册
public bool alphaIsTransparency ;

描述

If the alpha channel of your texture represents transparency, enable this property to dilate the color channels of visible texels into fully transparent areas. This effectively adds padding around transparent areas that prevents filtering artifacts from forming on their edges. Unity does not support this property for HDR textures.

This property makes the color data of invisible texels undefined. Disable this property to preserve invisible texels' original color data.