/// <inheritdoc/> public override bool Equals(object other) { if (!(other is Rect2)) { return(false); } Rect2 rect = (Rect2)other; if (x.Equals(rect.x) && y.Equals(rect.y) && width.Equals(rect.width) && height.Equals(rect.height)) { return(true); } return(false); }
private static extern void Internal_SetViewportRect(IntPtr instance, ref Rect2 value);
private static extern void Internal_getArea(IntPtr thisPtr, out Rect2 __output);
private static extern void Internal_setArea(IntPtr thisPtr, ref Rect2 area);