Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FConvexDecomposition3
Description
Add a sphere covering to existing negative space. Light-weight compared to InitializeNegativeSpace: Does not filter spheres that overlap or are inside the mesh geometry.
| Name | AddCoveringToInitialNegativeSpace |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexDecomposition3.h |
| Include Path | #include "CompGeom/ConvexDecomposition3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/CompGeom/ConvexDecomposition3.cpp |
bool AddCoveringToInitialNegativeSpace
(
const FSphereCovering & Covering,
FMatrix CoveringToLocalSpace,
double RadiusToLocalScale
)
Parameters
| Name | Remarks |
|---|---|
| Covering | The spheres to add. |
| CoveringToLocalSpace | Matrix transform from input covering space to the local space of input convex decomposition geometry |
| RadiusToLocalScale | Scale to transform sphere radii to the local space of the convex decomposition. Note spheres cannot be non-uniformly scaled in the local space. |