Skip to content
Version 2.11.0
↓ Get the launcher

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>
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.