![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IndexTypes.h>
Public Member Functions | |
| constexpr | FIndex3i ()=default |
| constexpr | FIndex3i (int ValA, int ValB, int ValC) |
| int & | operator[] (int Idx) |
| const int & | operator[] (int Idx) const |
| bool | operator== (const FIndex3i &Other) const |
| bool | operator!= (const FIndex3i &Other) const |
| int | IndexOf (int Value) const |
| bool | Contains (int Value) const |
| FIndex3i | GetOffsetBy (int32 OffsetIndicesBy) const |
| FIndex3i | GetCycled (int32 WantIndex0Value) const |
| operator FIntVector () const | |
| FIndex3i (const FIntVector &Vec) | |
| void | Serialize (FArchive &Ar) |
Static Public Member Functions | |
| static constexpr FIndex3i | Zero () |
| static constexpr FIndex3i | Max () |
| static constexpr FIndex3i | Invalid () |
Public Attributes | ||
| union { | ||
| struct { | ||
| int A | ||
| int B | ||
| int C | ||
| } | ||
| int ABC [3] = { IndexConstants::InvalidID, IndexConstants::InvalidID, IndexConstants::InvalidID } | ||
| }; | ||
Friends | |
| FArchive & | operator<< (FArchive &Ar, FIndex3i &I) |
3-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.
Implicit casts to/from FIntVector are defined.
|
constexprdefault |
|
inlineconstexpr |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Serialization operator for FIndex3i.
| Ar | Archive to serialize with. |
| I | Index to serialize. |
| union { ... } UE::Geometry::FIndex3i |
| int UE::Geometry::FIndex3i::A |
| int UE::Geometry::FIndex3i::ABC[3] = { IndexConstants::InvalidID, IndexConstants::InvalidID, IndexConstants::InvalidID } |
| int UE::Geometry::FIndex3i::B |
| int UE::Geometry::FIndex3i::C |