WindowRect structure
Plain (X, Y, Width, Height) rectangle used for window positions and sizes. Named WindowRect to avoid collision with UnityEngine.Rect in plugin/UI consumers.
public struct WindowRect : IEquatable<WindowRect>Public Members
Section titled “Public Members”| name | description |
|---|---|
| WindowRect(…) | Plain (X, Y, Width, Height) rectangle used for window positions and sizes. Named WindowRect to avoid collision with UnityEngine.Rect in plugin/UI consumers. |
| Bottom { get; } | Y coordinate of the bottom edge (Y + Height). |
| Height { get; set; } | |
| Right { get; } | X coordinate of the right edge (X + Width). |
| Width { get; set; } | |
| X { get; set; } | |
| Y { get; set; } | |
| Contains(…) | Returns true when the point (px, py) lies within or on the border of this rectangle. |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Domain