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 |
int32 MergeBones
&40;
FGeometryCollection & Collection,
const TArrayView< const int32 > & TransformIndices,
const TArrayView< const double > & Volumes,
double MinVolume,
const TArrayView< const int32 > & SmallTransformIndices,
bool bUnionJoinedPieces,
UE::PlanarCut::ENeighborSelectionMethod NeighborSelectionMethod
&41;
Remarks
Merge chosen geometry into neighboring geometry.
Parameters
| Name | Description |
|---|---|
| Collection | The collection to be processed |
| TransformIndices | The transform indices to process, or empty if all should 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 |
| bUnionJoinedPieces | Try to 'union' the merged pieces, removing internal triangles and connecting the shared cut boundary |
| NeighborSelectionMethod | How to choose which neighbor to merge to |