Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
Options controlling how collision shapes can be merged together.
| Name | FGeometryScriptMergeSimpleCollisionOptions |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
Syntax
USTRUCT (BlueprintType )
struct FGeometryScriptMergeSimpleCollisionOptions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bComputeNegativeSpace | bool | Whether to compute a new sphere covering representing the negative space of the input shapes. | GeometryScript/CollisionFunctions.h |
|
| bConsiderAllPossibleMerges | bool | Whether to consider merges between every shape. | GeometryScript/CollisionFunctions.h |
|
| ComputeNegativeSpaceOptions | FComputeNegativeSpaceOptions | Options controlling how the negative space is computed, if ComputeNegativeSpace is true. | GeometryScript/CollisionFunctions.h |
|
| ErrorTolerance | double | Error tolerance to use to decide to convex hulls together, in cm. | GeometryScript/CollisionFunctions.h |
|
| MaxShapeCount | int | If > 0, merge down to at most this many simple shapes. (If <= 0, this value is ignored.) | GeometryScript/CollisionFunctions.h |
|
| MinThicknessTolerance | double | Always attempt to merge parts thicker than this, ignoring ErrorTolerance and MaxShapeCount. | GeometryScript/CollisionFunctions.h |
|
| PrecomputedNegativeSpace | FGeometryScriptSphereCovering | Negative space that must be preserved during merging. | GeometryScript/CollisionFunctions.h |
|
| ShapeToHullTriangulation | FGeometryScriptSimpleCollisionTriangulationOptions | Controls for how smooth shapes can be triangulated when/if converted to a convex hull for a merge. | GeometryScript/CollisionFunctions.h |
|