示例#1
0
        /// <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);
        }
示例#2
0
 private static extern void Internal_SetViewportRect(IntPtr instance, ref Rect2 value);
示例#3
0
 private static extern void Internal_getArea(IntPtr thisPtr, out Rect2 __output);
示例#4
0
 private static extern void Internal_setArea(IntPtr thisPtr, ref Rect2 area);
示例#5
0
 private static extern void Internal_SetViewportRect(IntPtr instance, ref Rect2 value);