Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGCollapsePointsSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGCollapsePoints.h |
| Include | #include "Elements/PCGCollapsePoints.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGCollapsePointsSettings : public UPCGSettings
Remarks
Collapses (decimates) points on a closest-point basis, allowing weighted averages to be computed as required.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FPCGAttributePropertyOutputNoSourceSelector > | AttributesToMerge | List of attributes to merge on the final points, based on the weights. | |
| bool | bUseMergeWeightAttribute | Controls whether input points will use a weight driven by an attribute | |
| double | DistanceThreshold | Distance at which we will stop collapsing points. | |
| FPCGAttributePropertyInputSelector | MergeWeightAttribute | Attribute that will drive relative weight when merging points (only in the Weighted mode). | |
| EPCGCollapseMode | Mode | ||
| EPCGCollapseVisitOrder | VisitOrder | Determines order in which we will collapse points pair-wise. | |
| FPCGAttributePropertyInputSelector | VisitOrderAttribute | Attribute to drive visit order. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
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. |