Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/FConvexDecomposition3
Edge in a graph of merge candidates, indicating which Decomposition parts could be merged together Note a proximity link does not guarantee that the geometry (or convex hulls) are touching
| Name | FProximity |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexDecomposition3.h |
| Include Path | #include "CompGeom/ConvexDecomposition3.h" |
Syntax
struct FProximity
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FProximity () |
CompGeom/ConvexDecomposition3.h | ||
FProximity
(
const FIndex2i& Link, |
CompGeom/ConvexDecomposition3.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsValidLink | bool | Whether this merge can be allowed (e.g. has not been ruled out by negative space) | CompGeom/ConvexDecomposition3.h | |
| bPlaneSeparates | bool | Whether the geometry is separated by Plane. | CompGeom/ConvexDecomposition3.h | |
| Link | FIndex2i | CompGeom/ConvexDecomposition3.h | ||
| MergedVolume | double | What the volume of the convex hull would be if we merged these two parts. | CompGeom/ConvexDecomposition3.h | |
| Plane | FPlane3d | The shared plane between the two hulls (because adjacent hulls are formed by planar cuts in the splitting step) Note: Plane becomes invalid in the merge-up phase; it is used to accelerate filtering in the split-down phase | CompGeom/ConvexDecomposition3.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearMergedVolume() |
CompGeom/ConvexDecomposition3.h | ||
double GetMergeCost
(
const TIndirectArray< FConvexPart >& DecompositionIn |
CompGeom/ConvexDecomposition3.h | ||
bool HasMergedVolume() |
CompGeom/ConvexDecomposition3.h | ||
double VolumeNotComputed() |
CompGeom/ConvexDecomposition3.h |