Unity - Scripting API: TextureImporterSwizzle
enumeration
Success!
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.
Submission failed
For 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.
Description
Options for where texture color channel data comes from in the TextureImporter.
Properties
| Property | Description |
|---|---|
| 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. |