Defines a rectangular bounds across a UV map. More...
Public Member Functions | |
| UVBounds (Vector2 startUV, Vector2 endUV) | |
| Constructor taking the bounds. | |
Public Attributes | |
| Vector2 | Start |
| Start UV coordinates. Expected to be in the range [0..1]. | |
| Vector2 | Size |
| UV coordinate size (End - Start) | |
Defines a rectangular bounds across a UV map.
If the bounds extends backwards, the texture will be reversed when applied.