swizzleG
Specifies the source for the texture's green color channel data.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
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.