Choose your operating system:
Windows
macOS
Linux
Module |
|
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
(
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
)
Merge chosen geometry into neighboring geometry.
Parameter |
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 |