Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/GeometryCollection > API/Runtime/Chaos/GeometryCollection/FGeometryCollectionConvexUtility
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/GeometryCollectionConvexUtility.h |
| Include | #include "GeometryCollection/GeometryCollectionConvexUtility.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/GeometryCollection/GeometryCollectionConvexUtility.cpp |
static UE::GeometryCollectionConvexUtility::FConvexHulls ComputeLeafHulls
&40;
FGeometryCollection &42; GeometryCollection,
const TArray< FTransform > & GlobalTransformArray,
double SimplificationDistanceThreshold,
double OverlapRemovalShrinkPercent,
TFunction< bool(int32)> SkipBoneFn,
const FConvexDecompositionSettings &42; OptionalDecompositionSettings
&41;
Remarks
Compute just the hulls of the leaf / rigid nodes that hold geometry directly, with no cluster hulls and no overlap removal by cutting This is an initial step of several algorithms: The CreateNonOverlappingConvexHullData function as well as convex-based proximity detection (TODO: and the auto-embed algorithm?) (TODO: Make auto-embed use this instead of the full hulls?)
Parameters
| Name | Description |
|---|---|
| GlobalTransformArray | GeometryCollection's transforms to global space, as computed by GeometryCollectionAlgo::GlobalMatrices |