Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public bool alphaIsTransparency { get; set; }