UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGeometryCollectionConvexUtility::FConvexDecompositionSettings Struct Reference

#include <GeometryCollectionConvexUtility.h>

Public Member Functions

 FConvexDecompositionSettings ()=default
 

Public Attributes

float MinGeoVolumeToDecompose = 0.f
 
float MaxGeoToHullVolumeRatioToDecompose = 1.f
 
int32 MaxHullsPerGeometry = 1
 
float ErrorTolerance = 0.f
 
float MinThicknessTolerance = 0.f
 
int32 NumAdditionalSplits = 4
 
float ThickenHullOnFailure = UE_KINDA_SMALL_NUMBER
 
bool bProtectNegativeSpace = false
 
bool bOnlyConnectedToHull = true
 
float NegativeSpaceTolerance = 2.0f
 
float NegativeSpaceMinRadius = 10.0f
 

Constructor & Destructor Documentation

◆ FConvexDecompositionSettings()

FGeometryCollectionConvexUtility::FConvexDecompositionSettings::FConvexDecompositionSettings ( )
default

Member Data Documentation

◆ bOnlyConnectedToHull

bool FGeometryCollectionConvexUtility::FConvexDecompositionSettings::bOnlyConnectedToHull = true

When protecting negative space, only look for space that is connected out to the convex hull. This removes inaccessable internal negative space from consideration.

◆ bProtectNegativeSpace

bool FGeometryCollectionConvexUtility::FConvexDecompositionSettings::bProtectNegativeSpace = false

Whether to use a sphere cover to define negative space that should not be covered by convex hulls

◆ ErrorTolerance

float FGeometryCollectionConvexUtility::FConvexDecompositionSettings::ErrorTolerance = 0.f

◆ MaxGeoToHullVolumeRatioToDecompose

float FGeometryCollectionConvexUtility::FConvexDecompositionSettings::MaxGeoToHullVolumeRatioToDecompose = 1.f

◆ MaxHullsPerGeometry

int32 FGeometryCollectionConvexUtility::FConvexDecompositionSettings::MaxHullsPerGeometry = 1

If we do perform a convex decomposition, these settings control the decomposition process

◆ MinGeoVolumeToDecompose

float FGeometryCollectionConvexUtility::FConvexDecompositionSettings::MinGeoVolumeToDecompose = 0.f

These settings are filters that control whether convex decomposition is performed

◆ MinThicknessTolerance

float FGeometryCollectionConvexUtility::FConvexDecompositionSettings::MinThicknessTolerance = 0.f

◆ NegativeSpaceMinRadius

float FGeometryCollectionConvexUtility::FConvexDecompositionSettings::NegativeSpaceMinRadius = 10.0f

Spheres smaller than this are not included in the negative space

◆ NegativeSpaceTolerance

float FGeometryCollectionConvexUtility::FConvexDecompositionSettings::NegativeSpaceTolerance = 2.0f

Amount of space to leave between convex hulls and protected negative space

◆ NumAdditionalSplits

int32 FGeometryCollectionConvexUtility::FConvexDecompositionSettings::NumAdditionalSplits = 4

◆ ThickenHullOnFailure

float FGeometryCollectionConvexUtility::FConvexDecompositionSettings::ThickenHullOnFailure = UE_KINDA_SMALL_NUMBER

The documentation for this struct was generated from the following file: