Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/IntRect.h |
Include |
#include "Math/IntRect.h" |
struct FIntRect
Structure for integer rectangles in 2-d space.
Name | Description | ||
---|---|---|---|
|
Area() |
Calculates the area of this rectangle. |
|
|
Bottom ( |
Creates a rectangle from the bottom part of this rectangle. |
|
|
Clip ( |
Clip a rectangle using the bounds of another rectangle. |
|
|
Contains ( |
Test whether this rectangle contains a point. |
|
|
DivideAndRoundUp |
Divides a rectangle and rounds up to the nearest integer. |
|
|
DivideAndRoundUp |
Divides a rectangle and rounds up to the nearest integer. |
|
|
GetCenterAndExtents |
Gets the Center and Extents of this rectangle. |
|
|
Height() |
Gets the Height of the rectangle. |
|
|
Include ( |
Adds to this rectangle to include a given point. |
|
|
InflateRect ( |
Inflates or deflates the rectangle. |
|
|
Inner ( |
Gets a new rectangle from the inner of this one. |
|
|
Intersect ( |
Returns true if the two rects have any overlap. |
|
|
IsEmpty() |
Returns true if the rectangle is 0 x 0. |
|
|
Num() |
Gets number of points in the Rectangle. |
|
|
Right ( |
Creates a rectangle from the right hand side of this rectangle. |
|
|
Scale ( |
Scales a rectangle using a floating point number. |
|
|
Size() |
Gets the distance from one corner of the rectangle to the other. |
|
|
ToString() |
Get a textual representation of this rectangle. |
|
|
Union ( |
Combines the two rectanges. |
|
|
Width() |
Gets the width of the rectangle. |
Name | Description | ||
---|---|---|---|
|
operator- ( |
Gets the result of subtracting a point from this rectangle. |
|
|
operator- ( |
Gets the result of subtracting a rectangle from this one. |
|
|
operator!= ( |
Compares Rectangles for inequality. |
|
|
operator() ( |
Gets a specific point in this rectangle. |
|
|
const FIntPo... |
operator() ( |
Gets a specific point in this rectangle. |
|
operator* ( |
Gets the result of scaling on this rectangle. |
|
|
FIntRect & |
operator*= ( |
Applies scaling to this rectangle. |
|
operator/ ( |
Gets the result of division on this rectangle. |
|
|
operator/ ( |
Gets the result of dividing a point with this rectangle. |
|
|
operator+ ( |
Gets the result of adding two rectangles together. |
|
|
operator+ ( |
Gets the result of adding a point to this rectangle. |
|
|
FIntRect & |
operator+= ( |
Adds a point to this rectangle. |
|
FIntRect & |
operator-= ( |
Subtracts a point from this rectangle. |
|
operator== ( |
Compares Rectangles for equality. |