Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/CompGeom > API/Runtime/GeometryCore/CompGeom/FConvexDecomposition3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexDecomposition3.h |
| Include | #include "CompGeom/ConvexDecomposition3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/CompGeom/ConvexDecomposition3.cpp |
int32 SplitWorst
(
bool bCanSkipUnreliableGeoVolumes,
double ErrorTolerance,
bool bOnlySplitIfNegativeSpaceCovered,
double MinSplitSizeInWorldSpace
)
Remarks
Split the worst convex part, and return the increase in the total number of convex parts after splitting (can be more than 1 if result has multiple separate connected components) Note: could return 0 if no splits were possible
Parameters
| Name | Description |
|---|---|
| bCanSkipUnreliableGeoVolumes | if true, don't split hulls where we have questionable geometry volume results, unless there is no hull with good geometry volume results |
| bOnlySplitIfNegativeSpaceCovered | if true, don't split hulls unless they overlap with some covered Negative Space (stored in the corresponding member variable) |
| MinSplitSize | if > 0, don't split hulls with max bounds dimension lower than this |