Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include | #include "GeometryScript/CollisionFunctions.h" |
Syntax
USTRUCT (BlueprintType )
struct FGeometryScriptConvexHullApproximationOptions
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bFitBoxes | Whether to attempt to replace convex hulls with boxes | |
| bool | bFitSpheres | Whether to attempt to replace convex hulls with spheres | |
| float | DistanceThreshold | Approximating shape should be at least this close to the original shape | |
| float | VolumeDiffThreshold_Fraction | Acceptable difference between approximating shape volume and convex hull volume, as a fraction of convex hull volume |