static TextureUtilities
public static class TextureUtilities{}
A static class containing useful functions for Texture Processing that the EZRecolor Baker utilizes.
Static Properties
There are no Static Properties available or exposed for this class
Enums
| Name | Description |
|---|---|
| PackingResizeIfNotSameResolution | Rescale mode if the textures to pack together are different scales. |
| Rotation | Possible rotation values when rotating a texture. |
Static Methods
| Method | Return Type | Description |
|---|---|---|
| ChannelPackColors | Color[] | Channel Pack 4 arrays of floats of the same length into a single array of RGBA colors. Used to make Channel Packed Textures. |
| MakeChannelPackedTexture | Texture2D | Channel Pack 4 channels taken from up to 4 different textures (1 channel each). |
| Resize | Texture2D | A simple resize algorythm to scale up or down a Texture2D. |
| Rotate | Texture2D | Rotates a texture by angles of 90 degrees. |