Navigation
API > API/Runtime > API/Runtime/GeometryCore
2-index tuple. Ported from g3Sharp library, with the intention of maintaining compatibility with existing g3Sharp code. Has an API similar to WildMagic, GTEngine, Eigen, etc.
| Name | FIndex2i |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/IndexTypes.h |
| Include Path | #include "IndexTypes.h" |
Syntax
struct FIndex2i
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
constexpr FIndex2i () |
IndexTypes.h | ||
constexpr FIndex2i
(
int ValA, |
IndexTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| A | int | IndexTypes.h | ||
| AB | int | IndexTypes.h | ||
| B | int | IndexTypes.h | ||
| FIndex2i | union UE::Geometry::FIndex2i | IndexTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Contains
(
int Value |
IndexTypes.h | ||
int IndexOf
(
int Value |
IndexTypes.h | ||
int OtherElement
(
int Value |
IndexTypes.h | ||
void Serialize
(
FArchive& Ar |
Serialize FIndex2i to an archive. | IndexTypes.h | |
void Sort() |
IndexTypes.h | ||
void Swap() |
IndexTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FIndex2i Invalid() |
IndexTypes.h | ||
static FIndex2i Max() |
IndexTypes.h | ||
static FIndex2i Zero() |
IndexTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FIndex2i& Other |
IndexTypes.h | ||
int & operator[]
(
int Idx |
IndexTypes.h | ||
const int & operator[]
(
int Idx |
IndexTypes.h | ||
bool operator==
(
const FIndex2i& Other |
IndexTypes.h |