Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGClusterSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGClusterElement.h |
| Include | #include "Elements/PCGClusterElement.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGClusterSettings : public UPCGSettings
Remarks
Given a desired number of clusters (categories), find the best fit cluster for each point by distance, using one of various clustering algorithms.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EPCGClusterAlgorithm | Algorithm | Mathematical algorithm for selecting clusters. | |
| bool | bOutputFinalCentroids | Output the final location of the centroids or gaussians. | |
| FName | ClusterAttribute | Cluster IDs will be written to this attribute on the output. | |
| int32 | MaxIterations | A limit on the number of iterations to run on each algorithm, if it doesn't otherwise converge. | |
| int32 | NumClusters | Number of clusters (segments) to group the points into. | |
| double | Tolerance | For EM, the maximum allowed difference between the last two iterations' "Log Likelihood"which converges from positive infinity to 0 in relation to point-to-cluster probabilities. |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| FPCGElementPtr | |||
| FName | |||
| FText | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| TArray< FPCGPinProperties > | Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | ||
| TArray< FPCGPinProperties > | |||
| bool | UseSeed () |
By default, settings do not use a seed. |