swizzleR
Specifies the source for the texture's red color channel data.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public TextureImporterSwizzle swizzleR { get; set; }
Remarks
By default, values for the imported texture's red channel come from the source image's red channel. To reorder or invert color channels at import time, change this to another value of TextureImporterSwizzle.
Additional Resources: TextureImporterSwizzle, TextureImporter.swizzleG, TextureImporter.swizzleB, TextureImporter.swizzleA.