Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/ContainmentFunctions.h |
| Include | #include "GeometryScript/ContainmentFunctions.h" |
Syntax
USTRUCT (BlueprintType )
struct FGeometryScriptConvexDecompositionOptions
Variables
| Type | Name | Description | |
|---|---|---|---|
| double | ErrorTolerance | Error tolerance to guide convex decomposition (in cm); we stop adding new parts if the volume error is below the threshold. | |
| double | MinPartThickness | Minimum part thickness for convex decomposition (in cm); hulls thinner than this will be merged into adjacent hulls, if possible. | |
| int | NumHulls | How many convex pieces to target per mesh when creating convex decompositions. | |
| double | SearchFactor | How much additional decomposition decomposition + merging to do, as a fraction of max pieces. | |
| int | SimplifyToFaceCount | Try to simplify each convex hull to this triangle count. If 0, no simplification |