UVRect Struct
Definition
Namespace: Brine2D.Rendering.TextureAtlas
Represents UV texture coordinates \(normalized 0\-1 range\). Used for GPU rendering and shader-based sprite batching.
| Properties | |
|---|---|
| Height | Gets the height of the UV rect \(V2 \- V1\). |
| U1 | Left U coordinate \(0\-1\). |
| U2 | Right U coordinate \(0\-1\). |
| V1 | Top V coordinate \(0\-1\). |
| V2 | Bottom V coordinate \(0\-1\). |
| Width | Gets the width of the UV rect \(U2 \- U1\). |