Navigation
API > API/Plugins > API/Plugins/PlanarCut
References
| Module | PlanarCut |
| Header | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Public/PlanarCut.h |
| Include | #include "PlanarCut.h" |
| Source | /Engine/Plugins/Experimental/PlanarCutPlugin/Source/PlanarCut/Private/PlanarCut.cpp |
void MergeClusters
&40;
FGeometryCollection & Collection,
const TArrayView< const double > & Volumes,
double MinVolume,
const TArrayView< const int32 > & SmallTransformIndices,
UE::PlanarCut::ENeighborSelectionMethod NeighborSelectionMethod,
bool bOnlyMergeInProximity,
bool bOnlySameParent
&41;
Remarks
Merge chosen bones into neighboring clusters.
Parameters
| Name | Description |
|---|---|
| Collection | The collection to be processed |
| Volumes | Volumes of geometry; 1:1 w/ TransformIndices array |
| MinVolume | If merged small geometry is larger than this, it will not require further merging |
| SmallTransformIndices | Transform indices of pieces that we want to merge |
| NeighborSelectionMethod | How to choose which neighbor to merge to |
| bOnlyMergeInProximity | Whether to only follow proximity graph, or to fall back to nearest center when for when no proximity links are found |
| bOnlySameParent | Whether to only merge nodes that have the same parent in the hierarchy |