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 |
void UpdateProximitiesAfterSplit
&40;
int32 SplitIdx,
int32 NewIdxStart,
FPlane3d CutPlane,
int32 SecondSideIdxStart,
double OrigHullVolume
&41;
Remarks
Helper function to update all proximity data after splitting an FConvexPart apart
Parameters
| Name | Description |
|---|---|
| SplitIdx | The index of the FConvexPart that has been split into multiple parts. Now contains the first new part. |
| NewIdxStart | The first index in the Decomposition array of new FConvexParts aside from SplitIdx. Everything from this to the end of the Decomposition array must be new. |
| CutPlane | The plane used for the split |
| SecondSideIdxStart | The first index in the Decomposition array of new FConvexParts that were on the opposite side of the plane from SplitIdx. Will be different from NewIdxStart only if the first part was split into multiple components. |
| OrigHullVolume | The volume of the convex hull before the split was performed used to precompute the merge cost. |