Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshRegionGraph
Description
Incrementally merge regions with a triangle count below the given SmallThreshold. A Small region is merged to it's most-similar neighbour, as defined by RegionSimilarityFunc. The merge order is sorted by largest Similarity, ie most-similar regions are merged first.
| Name | MergeSmallRegions |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/MeshRegionGraph.h |
| Include Path | #include "Parameterization/MeshRegionGraph.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Parameterization/MeshRegionGraph.cpp |
bool MergeSmallRegions
(
int32 SmallThreshold,
TFunctionRef < float> RegionSimilarityFunc
)