UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TIndexVectorMeshArrayAdapter< IndexVectorType, OutRealType, InVectorType > Struct Template Reference

#include <MeshAdapter.h>

Public Member Functions

void SetSources (const TArray< InVectorType > *SourceVerticesIn, const TArray< IndexVectorType > *SourceTrianglesIn)
 
 TIndexVectorMeshArrayAdapter ()
 
 TIndexVectorMeshArrayAdapter (const TArray< InVectorType > *SourceVerticesIn, const TArray< IndexVectorType > *SourceTrianglesIn)
 
bool IsTriangle (int32 Index) const
 
bool IsVertex (int32 Index) const
 
int32 MaxTriangleID () const
 
int32 MaxVertexID () const
 
int32 TriangleCount () const
 
int32 VertexCount () const
 
uint64 GetChangeStamp () const
 
FIndex3i GetTriangle (int32 Index) const
 
TVector< OutRealTypeGetVertex (int32 Index) const
 
void GetTriVertices (int32 TriIndex, UE::Math::TVector< OutRealType > &V0, UE::Math::TVector< OutRealType > &V1, UE::Math::TVector< OutRealType > &V2) const
 

Public Attributes

const TArray< InVectorType > * SourceVertices
 
const TArray< IndexVectorType > * SourceTriangles
 

Detailed Description

template<typename IndexVectorType, typename OutRealType, typename InVectorType = FVector>
struct UE::Geometry::TIndexVectorMeshArrayAdapter< IndexVectorType, OutRealType, InVectorType >

Second version of the above faster adapter – for the case where triangle indices are packed into an integer vector type instead of flat

Constructor & Destructor Documentation

◆ TIndexVectorMeshArrayAdapter() [1/2]

◆ TIndexVectorMeshArrayAdapter() [2/2]

UE::Geometry::TIndexVectorMeshArrayAdapter< IndexVectorType, OutRealType, InVectorType >::TIndexVectorMeshArrayAdapter ( const TArray< InVectorType > *  SourceVerticesIn,
const TArray< IndexVectorType > *  SourceTrianglesIn 
)
inline

Member Function Documentation

◆ GetChangeStamp()

◆ GetTriangle()

◆ GetTriVertices()

◆ GetVertex()

◆ IsTriangle()

◆ IsVertex()

◆ MaxTriangleID()

◆ MaxVertexID()

◆ SetSources()

void UE::Geometry::TIndexVectorMeshArrayAdapter< IndexVectorType, OutRealType, InVectorType >::SetSources ( const TArray< InVectorType > *  SourceVerticesIn,
const TArray< IndexVectorType > *  SourceTrianglesIn 
)
inline

◆ TriangleCount()

◆ VertexCount()

Member Data Documentation

◆ SourceTriangles

◆ SourceVertices


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