Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/IntVector.h |
Include |
#include "Math/IntVector.h" |
struct FIntVector
Structure for integer vectors in 3-d space.
Name | Description | |
---|---|---|
|
FIntVector() |
Default constructor (no initialization). |
|
FIntVector ( |
Constructor |
|
FIntVector ( |
Constructor |
|
FIntVector ( |
Constructor |
|
FIntVector |
Creates and initializes a new instance with the specified coordinates. |
Name | Description | ||
---|---|---|---|
|
DivideAndRoundUp ( |
Divide an int point and round up the result. |
|
|
DivideAndRoundUp ( |
Divide an int point and round up the result. |
|
|
GetMax() |
Gets the maximum value in the point. |
|
|
GetMin() |
Gets the minimum value in the point. |
|
|
IsZero() |
Is vector equal to zero. |
|
|
Num() |
Gets the number of components a point has. |
|
|
Serialize ( |
||
|
Size() |
Gets the distance of this point from (0,0,0). |
|
|
ToString() |
Get a textual representation of this vector. |
Name | Description | ||
---|---|---|---|
|
operator- ( |
Gets the result of subtraction from this point. |
|
|
operator!= ( |
Compares points for inequality. |
|
|
operator& ( |
Component-wise AND. |
|
|
int32 & |
operator() ( |
Gets specific component of a point. |
|
const int32 ... |
operator() ( |
Gets specific component of a point. |
|
operator* ( |
Gets the result of scaling on this point. |
|
|
operator*= ( |
Scales this point. |
|
|
operator/ ( |
Gets the result of division on this point. |
|
|
operator/= ( |
Divides this point. |
|
|
int32 & |
operator[] ( |
Gets specific component of a point. |
|
const int32 ... |
operator[] ( |
Gets specific component of a point. |
|
operator^ ( |
Component-wise XOR. |
|
|
operator| ( |
Component-wise OR. |
|
|
operator+ ( |
Gets the result of addition on this point. |
|
|
operator+= ( |
Adds to this point. |
|
|
operator<< ( |
Shifts all components to the left. |
|
|
operator= ( |
Assigns another point to this one. |
|
|
operator-= ( |
Subtracts from this point. |
|
|
operator== ( |
Compares points for equality. |
|
|
operator>> ( |
Shifts all components to the right. |