文档

Unity Engine

Unity Engine

swizzleA

Specifies the source for the texture's alpha color channel data.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public TextureImporterSwizzle swizzleA { get; set; }

Remarks

By default, values for the imported texture's alpha channel come from the source image's alpha channel. To reorder or invert color channels at import time, change this to another value of TextureImporterSwizzle.