UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::FIndex4i Struct Reference

#include <IndexTypes.h>

Public Member Functions

 FIndex4i ()
 
 FIndex4i (int ValA, int ValB, int ValC, int ValD)
 
int & operator[] (int Idx)
 
const int & operator[] (int Idx) const
 
bool operator== (const FIndex4i &Other) const
 
bool operator!= (const FIndex4i &Other) const
 
int IndexOf (int Value) const
 
bool Contains (int Idx) const
 
void Serialize (FArchive &Ar)
 

Static Public Member Functions

static FIndex4i Zero ()
 
static FIndex4i Max ()
 
static FIndex4i Invalid ()
 

Public Attributes

union { 
 
   struct { 
 
      int   A 
 
      int   B 
 
      int   C 
 
      int   D 
 
   }  
 
   int   ABCD [4] 
 
};  
 

Friends

FArchiveoperator<< (FArchive &Ar, FIndex4i &I)
 

Detailed Description

4-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.

Constructor & Destructor Documentation

◆ FIndex4i() [1/2]

UE::Geometry::FIndex4i::FIndex4i ( )
inline

◆ FIndex4i() [2/2]

UE::Geometry::FIndex4i::FIndex4i ( int  ValA,
int  ValB,
int  ValC,
int  ValD 
)
inline

Member Function Documentation

◆ Contains()

bool UE::Geometry::FIndex4i::Contains ( int  Idx) const
inline

◆ IndexOf()

int UE::Geometry::FIndex4i::IndexOf ( int  Value) const
inline

◆ Invalid()

static FIndex4i UE::Geometry::FIndex4i::Invalid ( )
inlinestatic

◆ Max()

static FIndex4i UE::Geometry::FIndex4i::Max ( )
inlinestatic

◆ operator!=()

bool UE::Geometry::FIndex4i::operator!= ( const FIndex4i Other) const
inline

◆ operator==()

bool UE::Geometry::FIndex4i::operator== ( const FIndex4i Other) const
inline

◆ operator[]() [1/2]

int & UE::Geometry::FIndex4i::operator[] ( int  Idx)
inline

◆ operator[]() [2/2]

const int & UE::Geometry::FIndex4i::operator[] ( int  Idx) const
inline

◆ Serialize()

void UE::Geometry::FIndex4i::Serialize ( FArchive Ar)
inline

Serialize FIndex3i to an archive

◆ Zero()

static FIndex4i UE::Geometry::FIndex4i::Zero ( )
inlinestatic

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FIndex4i I 
)
friend

Serialization operator for FIndex4i.

Parameters
ArArchive to serialize with.
IIndex to serialize.
Returns
Passing down serializing archive.

Member Data Documentation

◆ [union]

union { ... } UE::Geometry::FIndex4i

◆ A

int UE::Geometry::FIndex4i::A

◆ ABCD

int UE::Geometry::FIndex4i::ABCD[4]

◆ B

int UE::Geometry::FIndex4i::B

◆ C

int UE::Geometry::FIndex4i::C

◆ D

int UE::Geometry::FIndex4i::D

The documentation for this struct was generated from the following file: