Navigation
API > API/Plugins > API/Plugins/GeometryCollectionNodes
Automatically group pieces of a fractured Collection into a specified number of clusters
| Name | FAutoClusterDataflowNode |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/GeometryCollectionPlugin/Source/GeometryCollectionNodes/Public/Dataflow/GeometryCollectionClusteringNodes.h |
| Include Path | #include "Dataflow/GeometryCollectionClusteringNodes.h" |
Syntax
USTRUCT (Meta=(DataflowGeometryCollection))
struct FAutoClusterDataflowNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FAutoClusterDataflowNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAutoClusterDataflowNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/GeometryCollectionClusteringNodes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoCluster | bool | 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) | Dataflow/GeometryCollectionClusteringNodes.h |
|
| AvoidIsolated | bool | If true, prevent the creation of clusters with only a single child. | Dataflow/GeometryCollectionClusteringNodes.h |
|
| bPreferConvexity | bool | Whether to favor clusters that have a convex shape. (Note: Does not support ByGrid clustering.) | Dataflow/GeometryCollectionClusteringNodes.h |
|
| bRandomizeColor | bool | Randomize color per connection | Dataflow/GeometryCollectionClusteringNodes.h |
|
| CenterColor | FLinearColor | Dataflow/GeometryCollectionClusteringNodes.h |
|
|
| CenterSize | float | Dataflow/GeometryCollectionClusteringNodes.h |
|
|
| ClusterFraction | float | Choose the number of Voronoi sites used for clustering as a fraction of the number of child bones to process | Dataflow/GeometryCollectionClusteringNodes.h |
|
| ClusterGridDepth | int | Choose the number of cluster sites to distribute along the Y axis | Dataflow/GeometryCollectionClusteringNodes.h |
|
| ClusterGridHeight | int | Choose the number of cluster sites to distribute along the Z axis | Dataflow/GeometryCollectionClusteringNodes.h |
|
| ClusterGridWidth | int | Choose the number of cluster sites to distribute along the X axis | Dataflow/GeometryCollectionClusteringNodes.h |
|
| ClusterSites | int32 | Use a Voronoi diagram with this many Voronoi sites as a guide for deciding cluster boundaries | Dataflow/GeometryCollectionClusteringNodes.h |
|
| ClusterSizeMethod | EClusterSizeMethodEnum | How to choose the size of the clusters to create | Dataflow/GeometryCollectionClusteringNodes.h |
|
| Collection | FManagedArrayCollection | Fractured GeometryCollection to cluster | Dataflow/GeometryCollectionClusteringNodes.h |
|
| Color | FLinearColor | Dataflow/GeometryCollectionClusteringNodes.h |
|
|
| ColorRandomSeed | int32 | Random seed | Dataflow/GeometryCollectionClusteringNodes.h |
|
| ConcavityTolerance | float | If > 0, cube root of maximum concave volume to add per cluster (ignoring concavity of individual parts) | Dataflow/GeometryCollectionClusteringNodes.h |
|
| DriftIterations | int | 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 | Dataflow/GeometryCollectionClusteringNodes.h |
|
| EnforceSiteParameters | bool | 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 ) | Dataflow/GeometryCollectionClusteringNodes.h |
|
| LineWidthMultiplier | float | Dataflow/GeometryCollectionClusteringNodes.h |
|
|
| MinimumSize | float | 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. | Dataflow/GeometryCollectionClusteringNodes.h |
|
| SiteSize | float | Choose the Edge-Size of the cube used to groups bones under a cluster (in cm). | Dataflow/GeometryCollectionClusteringNodes.h |
|
| TransformSelection | FDataflowTransformSelection | Bone selection for the clustering | Dataflow/GeometryCollectionClusteringNodes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DATAFLOW_NODE_DEFINE_INTERNAL
(
FAutoClusterDataflowNode, |
Dataflow/GeometryCollectionClusteringNodes.h | ||
FGeometryCollection::StaticType() |
Dataflow/GeometryCollectionClusteringNodes.h |