Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TIntRect
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/IntRect.h |
| Include | #include "Math/IntRect.h" |
bool Intersect
&40;
const TIntRect & Other
&41; const
Remarks
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. true if the rectangle overlaps the other rectangle, false otherwise.
Parameters
| Name | Description |
|---|---|
| Other | The rect to compare with. |