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&40;Meta&61;&40;DataflowGeometryCollection&41;&41;
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. | |
| 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 | |
| int32 | ClusterSites | Use a Voronoi diagram with this many Voronoi sites as a guide for deciding cluster boundaries | |
| EClusterSizeMethodEnum | ClusterSizeMethod | How to choose the size of the clusters to create | |
| FManagedArrayCollection | Collection | Fractured GeometryCollection to cluster | |
| 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, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FName | |||
| FName | |||
| FString | StaticTags () |
||
| FString | |||
| FName | StaticType () |
Overridden from FDataflowNode
| Type | Name | Description | |
|---|---|---|---|
| void | Evaluate
(
Dataflow::FContext& Context, |
Evaluation | |
| FName | GetCategory () |
||
| FName | |||
| FString | GetTags () |
||
| FName | GetType () |
||
| bool | |||
| FStructOnScope * | |||
| void | SerializeInternal
(
FArchive& Ar |
Struct Support | |
| const UScriptStruct * |