BoundsExtensions.Intersects(Rect, Rect, Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculate the intersection area between the rectangle and another.
public static bool Intersects(this UnityEngine.Rect thisRect, UnityEngine.Rect rect, out UnityEngine.Rect area);
static member Intersects : UnityEngine.Rect * UnityEngine.Rect * Rect -> bool
<Extension()>
Public Function Intersects (thisRect As Rect, rect As Rect, ByRef area As Rect) As Boolean
Parameters
- thisRect
- UnityEngine.Rect
- rect
- UnityEngine.Rect
- area
- UnityEngine.Rect