Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/IntVector.h |
| Include | #include "Math/IntVector.h" |
Syntax
template<typename InIntType>
struct TIntVector2
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
TIntVector2 () |
|||
TIntVector2
(
IntType InValue |
|||
TIntVector2
(
EForceInit |
|||
TIntVector2
(
TIntVector2< OtherIntType > Other |
Converts to another int type. Checks that the cast will succeed. | ||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | TIntVector2
(
TIntVector2&& |
Workaround for clang deprecation warnings for deprecated XY member in implicitly-defined special member functions. | |
TIntVector2
(
const TIntVector2& |
|||
TIntVector2
(
IntType InX, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | SerializeFromMismatchedTag
(
FName StructTag, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TIntVector2 | operator-
(
const TIntVector2& Other |
Gets the result of subtraction from this point. | |
| bool | operator!=
(
const TIntVector2& Other |
||
| TIntVector2 | Gets the remainder of division on this point. | ||
| TIntVector2 & | operator%=
(
IntType Divisor |
Remainder of division of this point. | |
| TIntVector2 | operator*
(
const TIntVector2& Other |
Gets the result of component-wise multiplication of this point by another. | |
| TIntVector2 | Gets the result of scaling on this point. | ||
| TIntVector2 & | operator*=
(
IntType Scale |
Scales this point. | |
| TIntVector2 & | operator*=
(
const TIntVector2& Other |
Multiplies this vector with another vector, using component-wise multiplication. | |
| TIntVector2 | Gets the result of division on this point. | ||
| TIntVector2 & | operator/=
(
IntType Divisor |
Divides this point. | |
| const IntType & | operator[]
(
int32 ComponentIndex |
||
| IntType & | operator[]
(
int32 ComponentIndex |
||
| TIntVector2 | operator+
(
const TIntVector2& Other |
Gets the result of addition on this point. | |
| TIntVector2 & | operator+=
(
const TIntVector2& Other |
Adds to this point. | |
| TIntVector2 & | operator=
(
TIntVector2&& |
||
| TIntVector2 & | operator=
(
const TIntVector2& |
||
| TIntVector2 & | operator-=
(
const TIntVector2& Other |
Subtracts from this point. | |
| bool | operator==
(
const TIntVector2& Other |
Typedefs
| Name | Description |
|---|---|
| IntType |