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 Contains
&40;
IntPointType P
&41; const
Remarks
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. true if the rectangle contains the specified point, false otherwise.
Parameters
| Name | Description |
|---|---|
| Point | The point to test against. |