Navigation
API > API/Runtime > API/Runtime/GeometryCore
2D 32-bit integer Vector
| Name | FVector2i |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/IntVectorTypes.h |
| Include Path | #include "IntVectorTypes.h" |
Syntax
struct FVector2i
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2i
(
const FVector2d& Vec |
IntVectorTypes.h | ||
FVector2i
(
const FVector2f& Vec |
IntVectorTypes.h | ||
FVector2i
(
const FVector& Vec |
IntVectorTypes.h | ||
| IntVectorTypes.h | |||
constexpr FVector2i
(
const int32* Data |
IntVectorTypes.h | ||
constexpr FVector2i () |
IntVectorTypes.h | ||
FVector2i
(
const FIntVector2& Vec |
IntVectorTypes.h | ||
constexpr FVector2i
(
int32 ValX, |
IntVectorTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FVector2i | union UE::Geometry::FVector2i | IntVectorTypes.h | ||
| X | int32 | IntVectorTypes.h | ||
| XY | int32 | IntVectorTypes.h | ||
| Y | int32 | IntVectorTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 DistanceSquared
(
const FVector2i& V2 |
IntVectorTypes.h | ||
int32 Dot
(
const FVector2i& V2 |
IntVectorTypes.h | ||
int32 SquaredLength() |
IntVectorTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FVector2i One() |
IntVectorTypes.h | ||
static FVector2i UnitX() |
IntVectorTypes.h | ||
static FVector2i UnitY() |
IntVectorTypes.h | ||
static FVector2i Zero() |
IntVectorTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| IntVectorTypes.h | |||
FVector2i operator-() |
IntVectorTypes.h | ||
| IntVectorTypes.h | |||
constexpr operator const int32 *() |
IntVectorTypes.h | ||
operator FIntVector2() |
IntVectorTypes.h | ||
operator FVector2d() |
IntVectorTypes.h | ||
operator FVector2f() |
IntVectorTypes.h | ||
constexpr operator int32 *() |
IntVectorTypes.h | ||
bool operator!=
(
const FVector2i& Other |
IntVectorTypes.h | ||
| IntVectorTypes.h | |||
| IntVectorTypes.h | |||
FVector2i & operator*=
(
const int32& Scalar |
IntVectorTypes.h | ||
| IntVectorTypes.h | |||
| IntVectorTypes.h | |||
FVector2i & operator/=
(
const int32& Scalar |
IntVectorTypes.h | ||
const int32 & operator[]
(
int Idx |
IntVectorTypes.h | ||
int32 & operator[]
(
int Idx |
IntVectorTypes.h | ||
| IntVectorTypes.h | |||
| IntVectorTypes.h | |||
| IntVectorTypes.h | |||
| IntVectorTypes.h | |||
| IntVectorTypes.h | |||
bool operator==
(
const FVector2i& Other |
IntVectorTypes.h |