swizzleG
Specifies the source for the texture's green color channel data.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public TextureImporterSwizzle swizzleG { get; set; }
Remarks
By default, values for the imported texture's green channel come from the source image's green channel. To reorder or invert color channels at import time, change this to another value of TextureImporterSwizzle.
Additional Resources: TextureImporterSwizzle, TextureImporter.swizzleR, TextureImporter.swizzleB, TextureImporter.swizzleA.