Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes
Generates cluster convex hulls for children hulls
| Name | FGenerateClusterConvexHullsFromChildrenHullsDataflowNode |
| 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 FGenerateClusterConvexHullsFromChildrenHullsDataflowNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FGenerateClusterConvexHullsFromChildrenHullsDataflowNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGenerateClusterConvexHullsFromChildrenHullsDataflowNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/GeometryCollectionUtilityNodes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers | |
|---|---|---|---|---|---|
| bAllowMergingLeafHulls | bool | Also allow the same hull merging process to run on leaf hulls (merging hulls on leaves in the selection) | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| bOnlyConnectedToHull | bool | When performing Voxel Search, only look for negative space that is connected out to the convex hull. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| bPreferExternalCollisionShapes | bool | Whether to prefer available External (imported) collision shapes instead of the computed convex hulls on the Collection | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| bProtectNegativeSpace | bool | Whether to use a sphere cover to define negative space that should not be covered by convex hulls | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| bRandomizeColor | bool | Randomize color per convex hull | Dataflow/GeometryCollectionUtilityNodes.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. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| ColorRandomSeed | int32 | Random seed | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| ConvexCount | int32 | Maximum number of convex to generate for a specific cluster. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| DebugDrawRenderSettings | FDataflowNodeDebugDrawSettings | Dataflow/GeometryCollectionUtilityNodes.h |
|
||
| ErrorTolerance | double | Error tolerance to use to decide to merge leaf convex together. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| MergeProximityDistanceThreshold | float | If applying a convex hull proximity filter, the distance threshold to use for determining that two convex hulls are close enough to merge | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| MergeProximityFilter | EConvexHullProximityFilter | Filter to optionally only consider spatially close convex hulls for merges | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| MinRadius | double | Spheres smaller than this are not included in the negative space | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| MinSampleSpacing | double | Minimum desired spacing between spheres; if > 0, will attempt not to place sphere centers closer than this | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| NegativeSpaceTolerance | double | Amount of space to leave between convex hulls and protected negative space | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| OptionalSelectionFilter | FDataflowTransformSelection | Optional transform selection to compute cluster hulls on if not provided, all cluster hulls will be computed. | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| SampleMethod | ENegativeSpaceSampleMethodDataflowEnum | Method to use to find and sample negative space | Dataflow/GeometryCollectionUtilityNodes.h |
|
|
| SphereCovering | DATAFLOW_NODE_DEFINE_INTERNAL(FGenerateClusterConvexHullsFromChildrenHullsDataflowNode, "GenerateClusterConvexHullsFromChildrenHulls", "GeometryCollection | Utilities", "") private FDataflowSphereCovering | A representation of the negative space protected by the 'protect negative space' option. If negative space is not protected, this will contain zero spheres. | Dataflow/GeometryCollectionUtilityNodes.h |
|
| SphereCoveringDebugDrawRenderSettings | FDataflowNodeSphereCoveringDebugDrawSettings | Dataflow/GeometryCollectionUtilityNodes.h |
|
||
| TargetNumSamples | int32 | Approximate number of spheres to consider when covering negative space. | Dataflow/GeometryCollectionUtilityNodes.h |
|
Functions
Public
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanDebugDraw() |
Dataflow/GeometryCollectionUtilityNodes.h | ||
virtual bool CanDebugDrawViewMode
(
const FName& ViewModeName |
Dataflow/GeometryCollectionUtilityNodes.h | ||
virtual void DebugDraw
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionUtilityNodes.h | ||
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/GeometryCollectionUtilityNodes.h |