DinoFracture 2.11.1
A Dynamic Fracture Library
Loading...
Searching...
No Matches

DinoFracture.UVBounds Struct Reference

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)
 

Detailed Description

Defines a rectangular bounds across a UV map.

If the bounds extends backwards, the texture will be reversed when applied.