Skip to content
Version 2.11.0
↓ Get the launcher

UvRect structure

Normalized atlas sub-rect (0..1, origin bottom-left, Unity texture-space convention) for SpriteElement. A plain BCL struct so the Abstractions layer carries no Unity dependency — the renderer maps it to UnityEngine.Rect.

public struct UvRect : IEquatable<UvRect>
name description
UvRect(…) Normalized atlas sub-rect (0..1, origin bottom-left, Unity texture-space convention) for SpriteElement. A plain BCL struct so the Abstractions layer carries no Unity dependency — the renderer maps it to UnityEngine.Rect.
H { get; set; }
W { get; set; }
X { get; set; }
Y { get; set; }