Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes
Provide settings for running convex decomposition of geometry.
| Name | FMakeDataflowConvexDecompositionSettingsNode |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionNodes/Public/Dataflow/GeometryCollectionUtilityNodes.h |
| Include Path | #include "Dataflow/GeometryCollectionUtilityNodes.h" |
Syntax
USTRUCT (Meta=(DataflowGeometryCollection))
struct FMakeDataflowConvexDecompositionSettingsNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FMakeDataflowConvexDecompositionSettingsNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMakeDataflowConvexDecompositionSettingsNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/GeometryCollectionUtilityNodes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers | |
|---|---|---|---|---|---|
| bOnlyConnectedToHull | bool | When protecting negative space, only look for space that is connected out to the convex hull. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| bProtectNegativeSpace | bool | Whether to drive decomposition by finding a negative space that should not be covered by convex hulls. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| DecompositionSettings | FDataflowConvexDecompositionSettings | Dataflow/GeometryCollectionUtilityNodes.h |
|
||
| ErrorTolerance | float | Stop splitting when hulls have error less than this (expressed in cm; will be cubed for volumetric error). | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| MaxGeoToHullVolumeRatioToDecompose | DATAFLOW_NODE_DEFINE_INTERNAL(FMakeDataflowConvexDecompositionSettingsNode, "MakeConvexDecompositionSettings", "GeometryCollection | Utilities", "") public float | If the geo volume / hull volume ratio is greater than this, do not consider convex decomposition. | Dataflow/GeometryCollectionUtilityNodes.h |
|
| MaxHullsPerGeometry | int32 | If greater than zero, maximum number of convex hulls to use in each convex decomposition. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| MinThicknessTolerance | float | Optionally specify a minimum thickness (in cm) for convex parts; parts below this thickness will always be merged away. Overrides NumOutputHulls and ErrorTolerance when needed. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| NegativeSpaceMinRadius | float | Spheres smaller than this are not included in the negative space | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| NegativeSpaceTolerance | float | Amount of space to leave between convex hulls and protected negative space | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| NumAdditionalSplits | int32 | Control the search effort spent per convex decomposition: larger values will require more computation but may find better convex decompositions. | Dataflow/GeometryCollectionUtilityNodes.h |
|
Functions
Public
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionUtilityNodes.h |