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 FGeometryScriptMergeSimpleCollisionOptions
Remarks
Options controlling how collision shapes can be merged together.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bComputeNegativeSpace | Whether to compute a new sphere covering representing the negative space of the input shapes. | |
| bool | bConsiderAllPossibleMerges | Whether to consider merges between every shape. | |
| FComputeNegativeSpaceOptions | ComputeNegativeSpaceOptions | Options controlling how the negative space is computed, if ComputeNegativeSpace is true. | |
| double | ErrorTolerance | Error tolerance to use to decide to convex hulls together, in cm. | |
| int | MaxShapeCount | If > 0, merge down to at most this many simple shapes. (If <= 0, this value is ignored.) | |
| double | MinThicknessTolerance | Always attempt to merge parts thicker than this, ignoring ErrorTolerance and MaxShapeCount. | |
| FGeometryScriptSphereCovering | PrecomputedNegativeSpace | Negative space that must be preserved during merging. | |
| FGeometryScriptSimpleCollisionTriangulationOptions | ShapeToHullTriangulation | Controls for how smooth shapes can be triangulated when/if converted to a convex hull for a merge. |