/Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexDecomposition3.h
class FConvexDecomposition3
double
BiasToRemoveTooThinParts
A bias term to favor merging away 'too thin' parts before merging other parts, expressed as a volume in units s.t.
double
ConnectedComponentTolerance
Threshold for considering two components to be touching.
double
ConvexEdgeAngleMoreSamplesThreshold
Angle at edge above which we take 5 sample planes instead of 3, to better cover the wider range (expressed in degrees)
double
ConvexEdgeAngleThreshold
Angle at edge above which we don't sample it as a convex edge (expressed in degrees)
double
CutLargestAxisErrorScale
Scale factor for error on the largest axis; slightly favoring cutting on the largest axis helps get more consistent result when no initial cut will reduce error (e.g. a torus)
TIndirectArray<...
Decomposition
All convex hulls parts in the convex decomposition Note this must be an indirect array, not aTArray, becauseFConvexPartholds anFDynamicMesh3mesh, which is not trivially movable
TMultiMap< int3...
DecompositionToProximity
Mapping from Decomposition indices to Proximity indices.
int32
MaxConvexEdgePlanes
Maximum number of convex edges to sample for possible cutting planes when callingSplitWorst()to generate an initial convex decomposition Larger values will cost more to run but can let the algorithm find a cleaner decomposition
double
OnPlaneTolerance
Maximum 'on plane' distance for points during planar cuts.
TArray<FProxim...
Proximities
All potential merge edges between Decomposition FConvexParts.
double
ProximityTolerance
Threshold for considering two convex parts close enough to consider merging.
FTransformSRT3d
ResultTransform
Transform taking the result hull vertices back to the original space of the inputs; automatically applied byGetVertices()