Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TIntRect
Description
Returns true if the two rects have any overlap.
This function assumes rects have open bounds, i.e. rects with coincident borders on any edge will not overlap.
| Name | Intersect |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/IntRect.h |
| Include Path | #include "Math/IntRect.h" |
bool Intersect
(
const TIntRect & Other
) const
true if the rectangle overlaps the other rectangle, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Other | The rect to compare with. |