/Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Polygroups/PolygroupsGenerator.h
FPolygroupsGeneratorgenerates (face/tri/poly)groups for an input mesh based on the geometry and attributes of the input mesh. The various FindPolygroupsFromX() are the driving functions, each performs the full computation.
class FPolygroupsGenerator
bool
bApplyPostProcessing
If true, then groups will be post-processed to optimize them, based on parmeters below
bool
bCopyToMesh
If true, after groups are computed they will be copied to the output mesh
TArray<TArray<...
FoundPolygroups
Lists of triangle IDs, each list defines a polygroup/polygon
int32
InitialGroupID
Start at this GroupID when assigning new groups
FDynamicMesh3&...
Mesh
Source mesh
int32
MinGroupSize
TArray< int >
PolygroupEdges
List of edge IDs of mesh edges that are on polygroup borders