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

Classes

struct  FClusterOptions
 

Functions

void ComputeMeshPolyGroupsFromClusters (FDynamicMesh3 &Mesh, TArray< TArray< int32 > > &OutPolyGroups, const FClusterOptions &Options, TSet< int32 > *IgnoreEdges)
 
void ComputeClusterCornerVertices (FDynamicMesh3 &Mesh, TArray< int32 > &OutCornerVertices, const FClusterOptions &Options, TSet< int32 > *IgnoreEdges)
 

Function Documentation

◆ ComputeClusterCornerVertices()

void GEOMETRYCORE_API UE::Geometry::FaceNormalClustering::ComputeClusterCornerVertices ( FDynamicMesh3 Mesh,
TArray< int32 > &  OutCornerVertices,
const FClusterOptions Options,
TSet< int32 > *  IgnoreEdges = nullptr 
)

Find the vertices at the corners of face clusters – i.e., vertices which touch faces from three or more clusters

Parameters
MeshThe Mesh to operate on
OutCornerVerticesAll vertices which touch at least three clusters
OptionsOptions controlling the tolerances used for clustering
IgnoreEdgesOptional set of edges that clusters should not be merged across

◆ ComputeMeshPolyGroupsFromClusters()

void GEOMETRYCORE_API UE::Geometry::FaceNormalClustering::ComputeMeshPolyGroupsFromClusters ( FDynamicMesh3 Mesh,
TArray< TArray< int32 > > &  OutPolyGroups,
const FClusterOptions Options,
TSet< int32 > *  IgnoreEdges = nullptr 
)

Find Mesh PolyGroups by clustering neighboring faces (or polygroups) with similar normals.

Parameters
MeshThe Mesh to operate on
OutPolyGroupsAn array holding the array-of-triangle-IDs for each found PolyGroup
OptionsOptions controlling the tolerances used for clustering
IgnoreEdgesOptional set of edges that clusters should not be merged across