Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes > API/Plugins/GeometryCollectionNodes/Dataflow
Inheritance Hierarchy
- FDataflowNode
- FAutoClusterDataflowNode
References
| Module | GeometryCollectionNodes |
| Header | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionNodes/Public/Dataflow/GeometryCollectionClusteringNodes.h |
| Include | #include "Dataflow/GeometryCollectionClusteringNodes.h" |
Syntax
USTRUCT (Meta=(DataflowGeometryCollection))
struct FAutoClusterDataflowNode : public FDataflowNode
Remarks
Automatically group pieces of a fractured Collection into a specified number of clusters
Variables
| Type | Name | Description | ||
|---|---|---|---|---|
| bool | AutoCluster | If true, bones will only be added to the same cluster if they are physically connected (either directly, or via other bones in the same cluster) | ||
| bool | AvoidIsolated | If true, prevent the creation of clusters with only a single child. | ||
| bool | bPreferConvexity | Whether to favor clusters that have a convex shape. (Note: Does not support ByGrid clustering.) | ||
| float | ClusterFraction | Choose the number of Voronoi sites used for clustering as a fraction of the number of child bones to process | ||
| int | ClusterGridDepth | Choose the number of cluster sites to distribute along the Y axis | ||
| int | ClusterGridHeight | Choose the number of cluster sites to distribute along the Z axis | ||
| int | ClusterGridWidth | Choose the number of cluster sites to distribute along the X axis | ||
| DATAFLOW_NODE_DEFINE_INTERNAL(FAutoClusterDataflowNode, "AutoCluster", "GeometryCollection | Cluster",... | ClusterSites | How to choose the size of the clusters to create Use a Voronoi diagram with this many Voronoi sites as a guide for deciding cluster boundaries | |
| FManagedArrayCollection | Collection | Fractured GeometryCollection to cluster | ||
| float | ConcavityTolerance | If > 0, cube root of maximum concave volume to add per cluster (ignoring concavity of individual parts) | ||
| int | DriftIterations | For a grid distribution, optionally iteratively recenter the grid points to the center of the cluster geometry (technically: applying K-Means iterations) to balance the shape and distribution of the clusters | ||
| bool | EnforceSiteParameters | If true, make sure the site parameters are matched as close as possible ( bEnforceConnectivity can make the number of site larger than the requested input may produce without it ) | ||
| float | MinimumSize | If a cluster has volume less than this value (in cm) cubed, then the auto-cluster process will attempt to merge it into a neighboring cluster. | ||
| float | SiteSize | Choose the Edge-Size of the cube used to groups bones under a cluster (in cm). | ||
| FDataflowTransformSelection | TransformSelection | Bone selection for the clustering |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAutoClusterDataflowNode
(
const Dataflow::FNodeParameters& InParam, |
Overridden from FDataflowNode
| Type | Name | Description | |
|---|---|---|---|
| void | Evaluate
(
Dataflow::FContext& Context, |
Evaluation |