Class TextureOrientationExtension
Extensions to check if a texture's orientation conforms to Unity's default.
Inherited Members
Namespace: KtxUnity
Assembly: solution.dll
Syntax
public static class TextureOrientationExtension
Methods
| Name | Description |
|---|---|
| IsXFlipped(TextureOrientation) | Evaluates if the texture's horizontal orientation conforms to Unity's default. If it's not aligned (=true; =flipped), the texture has to be applied mirrored horizontally. |
| IsYFlipped(TextureOrientation) | Evaluates if the texture's vertical orientation conforms to Unity's default. If it's not aligned (=true; =flipped), the texture has to be applied mirrored vertically. |