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

#include <MeshCaches.h>

Public Member Functions

void GetTriInfo (int TriangleID, FVector3d &NormalOut, double &AreaOut, FVector3d &CentroidOut) const
 

Static Public Member Functions

template<class TriangleMeshType >
static FMeshTriInfoCache BuildTriInfoCache (const TriangleMeshType &Mesh)
 

Public Attributes

TDynamicVector< FVector3dCentroids
 
TDynamicVector< FVector3dNormals
 
TDynamicVector< doubleAreas
 

Member Function Documentation

◆ BuildTriInfoCache()

template<class TriangleMeshType >
static FMeshTriInfoCache UE::Geometry::FMeshTriInfoCache::BuildTriInfoCache ( const TriangleMeshType Mesh)
inlinestatic

◆ GetTriInfo()

void UE::Geometry::FMeshTriInfoCache::GetTriInfo ( int  TriangleID,
FVector3d NormalOut,
double AreaOut,
FVector3d CentroidOut 
) const
inline

Member Data Documentation

◆ Areas

TDynamicVector<double> UE::Geometry::FMeshTriInfoCache::Areas

◆ Centroids

TDynamicVector<FVector3d> UE::Geometry::FMeshTriInfoCache::Centroids

◆ Normals

TDynamicVector<FVector3d> UE::Geometry::FMeshTriInfoCache::Normals

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