Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FGeometryCollectionConvexUtility
Settings to control convex decompositions. Note the default values are set to not perform any decomposition.
| Name | FConvexDecompositionSettings |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/GeometryCollection/GeometryCollectionConvexUtility.h |
| Include Path | #include "GeometryCollection/GeometryCollectionConvexUtility.h" |
Syntax
struct FConvexDecompositionSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConvexDecompositionSettings() |
GeometryCollection/GeometryCollectionConvexUtility.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOnlyConnectedToHull | bool | When protecting negative space, only look for space that is connected out to the convex hull. | GeometryCollection/GeometryCollectionConvexUtility.h | |
| bProtectNegativeSpace | bool | Whether to use a sphere cover to define negative space that should not be covered by convex hulls | GeometryCollection/GeometryCollectionConvexUtility.h | |
| ErrorTolerance | float | Stop splitting when hulls have error less than this (expressed in cm; will be cubed for volumetric error). Overrides NumOutputHulls if non-zero. | GeometryCollection/GeometryCollectionConvexUtility.h | |
| MaxGeoToHullVolumeRatioToDecompose | float | If the geo volume / hull volume ratio is greater than this, do not consider convex decomposition. | GeometryCollection/GeometryCollectionConvexUtility.h | |
| MaxHullsPerGeometry | int32 | 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. | GeometryCollection/GeometryCollectionConvexUtility.h | |
| MinGeoVolumeToDecompose | float | If greater than zero, the minimum geometry volume to consider for convex decomposition. | GeometryCollection/GeometryCollectionConvexUtility.h | |
| MinThicknessTolerance | float | 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. | GeometryCollection/GeometryCollectionConvexUtility.h | |
| NegativeSpaceMinRadius | float | Spheres smaller than this are not included in the negative space | GeometryCollection/GeometryCollectionConvexUtility.h | |
| NegativeSpaceTolerance | float | Amount of space to leave between convex hulls and protected negative space | GeometryCollection/GeometryCollectionConvexUtility.h | |
| NumAdditionalSplits | int32 | 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. | GeometryCollection/GeometryCollectionConvexUtility.h | |
| ThickenHullOnFailure | float | How much to thicken a hull on failure to construct to allow 3D decomposition of planar or degenerate meshes and parts-of-meshes. | GeometryCollection/GeometryCollectionConvexUtility.h |