Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
Options controlling how to sample the negative space of shapes, e.g. to define a region that must be avoided when merging collision shapes.
| Name | FComputeNegativeSpaceOptions |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
Syntax
USTRUCT (BlueprintType )
struct FComputeNegativeSpaceOptions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOnlyConnectedToHull | bool | When performing Voxel Search, only look for negative space that is connected out to the convex hull. | GeometryScript/CollisionFunctions.h |
|
| bRequireSearchSampleCoverage | bool | Whether to require that all candidate locations identified by Voxel Search are covered by negative space samples, up to the specified Min Sample Spacing. | GeometryScript/CollisionFunctions.h |
|
| MaxVoxelsPerDim | int32 | When performing Voxel Search, maximum number of voxels to use along each dimension | GeometryScript/CollisionFunctions.h |
|
| MinRadius | double | Spheres smaller than this are not included in the negative space | GeometryScript/CollisionFunctions.h |
|
| MinSampleSpacing | double | Minimum desired spacing between sphere centers; if > 0, will attempt not to place sphere centers closer than this | GeometryScript/CollisionFunctions.h |
|
| NegativeSpaceTolerance | double | Amount of space to leave between convex hulls and protected negative space | GeometryScript/CollisionFunctions.h |
|
| SampleMethod | ENegativeSpaceSampleMethod | Method to use to find and sample negative space | GeometryScript/CollisionFunctions.h |
|
| TargetNumSamples | int32 | Approximate number of spheres to consider when covering negative space | GeometryScript/CollisionFunctions.h |
|
| ToleranceDirectionalScales | TArray< FNegativeSpaceDirectionalToleranceScale > | Optionally scale the negative space tolerances in custom directions | GeometryScript/CollisionFunctions.h |
|