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 TIntVector4
Variables
| Type | Name | Description | |
|---|---|---|---|
| union UE::Math::TIntVector4::@471 | @472 | ||
| IntType | W | ||
| IntType | X | ||
| IntType[4] | XYZW | ||
| IntType | Y | ||
| IntType | Z |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TIntVector4 () |
|||
TIntVector4
(
IntType InValue |
|||
TIntVector4
(
EForceInit |
|||
TIntVector4
(
TIntVector4< OtherIntType > Other |
Converts to another int type. Checks that the cast will succeed. | ||
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | TIntVector4
(
TIntVector4&& |
Workaround for clang deprecation warnings for deprecated XYZW member in implicitly-defined special member functions. | |
TIntVector4
(
const TIntVector4& |
|||
TIntVector4
(
const TIntVector3< IntType >& InValue, |
|||
TIntVector4
(
IntType InX, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | SerializeFromMismatchedTag
(
FName StructTag, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TIntVector4 | operator-
(
const TIntVector4& Other |
Gets the result of subtraction from this point. | |
| bool | operator!=
(
const TIntVector4& Other |
Compares points for inequality. | |
| TIntVector4 | Gets the remainder of division on this point. | ||
| TIntVector4 & | operator%=
(
IntType Divisor |
Remainder of division of this point. | |
| TIntVector4 | Component-wise AND. | ||
| IntType & | operator()
(
int32 ComponentIndex |
Gets specific component of a point. | |
| const IntType & | operator()
(
int32 ComponentIndex |
Gets specific component of a point. | |
| TIntVector4 | Gets the result of scaling on this point. | ||
| TIntVector4 | operator*
(
const TIntVector4& Other |
Gets the result of component-wise multiplication of this point by another. | |
| TIntVector4 & | operator*=
(
IntType Scale |
Scales this point. | |
| TIntVector4 & | operator*=
(
const TIntVector4& Other |
Multiplies this vector with another vector, using component-wise multiplication. | |
| TIntVector4 | Gets the result of division on this point. | ||
| TIntVector4 & | operator/=
(
IntType Divisor |
Divides this point. | |
| IntType & | operator[]
(
int32 ComponentIndex |
Gets specific component of a point. | |
| const IntType & | operator[]
(
int32 ComponentIndex |
Gets specific component of a point. | |
| TIntVector4 | Component-wise XOR. | ||
| TIntVector4 | Component-wise OR. | ||
| TIntVector4 | operator+
(
const TIntVector4& Other |
Gets the result of addition on this point. | |
| TIntVector4 & | operator+=
(
const TIntVector4& Other |
Adds to this point. | |
| TIntVector4 | operator<<
(
IntType Shift |
Shifts all components to the left. | |
| TIntVector4 & | operator=
(
TIntVector4&& |
||
| TIntVector4 & | operator=
(
const TIntVector4& |
||
| TIntVector4 & | operator-=
(
const TIntVector4& Other |
Subtracts from this point. | |
| bool | operator==
(
const TIntVector4& Other |
Compares points for equality. | |
| TIntVector4 | operator>>
(
IntType Shift |
Shifts all components to the right. |
Typedefs
| Name | Description |
|---|---|
| IntType |