Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TIntRect
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Contains
(
IntPointType P |
Test whether this rectangle contains a point. | Math/IntRect.h | |
bool Contains
(
const FIntRect& Other |
Test whether this rectangle fully contains other rectangle. | Math/IntRect.h |
Contains(IntPointType)
Description
Test whether this rectangle contains a point.
This function assumes rects have half-open bounds, i.e. points are contained by the minimum border of the box, but not the maximum border.
| Name | Contains |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/IntRect.h |
| Include Path | #include "Math/IntRect.h" |
bool Contains
(
IntPointType P
) const
true if the rectangle contains the specified point, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Point | The point to test against. |
Contains(const FIntRect &)
Description
Test whether this rectangle fully contains other rectangle.
| Name | Contains |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/IntRect.h |
| Include Path | #include "Math/IntRect.h" |
bool Contains
(
const FIntRect & Other
) const