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" |
Syntax
struct FConvexDecompositionSettings
Remarks
Settings to control convex decompositions. Note the default values are set to not perform any decomposition.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | ErrorTolerance | Stop splitting when hulls have error less than this (expressed in cm; will be cubed for volumetric error). Overrides NumOutputHulls if non-zero. | |
| float | MaxGeoToHullVolumeRatioToDecompose | If the geo volume / hull volume ratio is greater than this, do not consider convex decomposition. | |
| int32 | MaxHullsPerGeometry | If > 0, specify the maximum number of convex hulls to create. Hull merges will be attempted until this number of hulls remains, or no merges are possible. | |
| float | MinGeoVolumeToDecompose | If greater than zero, the minimum geometry volume to consider for convex decomposition. | |
| float | MinThicknessTolerance | Optionally specify a minimum thickness (in cm) for convex parts; parts below this thickness will always be merged away. Will merge hulls with greater error than ErrorTolerance when needed. | |
| int32 | NumAdditionalSplits | How far to go beyond the target number of hulls for initial decomposition (before merges) larger values will require more computation but can find better convex decompositions. |
Constructors
| Type | Name | Description | |
|---|---|---|---|