Method IsYFlipped
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.
Declaration
public static bool IsYFlipped(this TextureOrientation to)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureOrientation | to |
Returns
| Type | Description |
|---|---|
| bool | True if the vertical orientation is flipped, false otherwise |