Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


swizzleG

Specifies the source for the texture's green color channel data.
Read time 1 minuteLast updated 11 days ago

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.