Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


swizzleB

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

Definition

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

Remarks

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