enumeration
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseOptions for where texture color channel data comes from in the TextureImporter.
By default, the Texture Importer maps each color channel from the source image to the same color channel in the imported texture. For example, the default value of TextureImporter.swizzleR is TextureImporterSwizzle.R.
See Also: TextureImporter.swizzleR, TextureImporter.swizzleG, TextureImporter.swizzleB, TextureImporter.swizzleA.
R | Use the red color channel. |
G | Use the green color channel. |
B | Use the blue color channel. |
A | Use the alpha color channel. |
OneMinusR | Use the inverted red color channel. |
OneMinusG | Use the inverted green color channel. |
OneMinusB | Use the inverted blue color channel. |
OneMinusA | Use the inverted alpha color channel. |
Zero | Use black (a value of zero) for the color channel. |
One | Use white (a value of one) for the color channel. |