Navigation
API > API/Plugins > API/Plugins/PCG
Collapses (decimates) points on a closest-point basis, allowing weighted averages to be computed as required.
| Name | UPCGCollapsePointsSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGCollapsePoints.h |
| Include Path | #include "Elements/PCGCollapsePoints.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGCollapsePointsSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGCollapsePointsSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGCollapsePointsSettings() |
Elements/PCGCollapsePoints.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AttributesToMerge | TArray< FPCGAttributePropertyOutputNoSourceSelector > | List of attributes to merge on the final points, based on the weights. | Elements/PCGCollapsePoints.h |
|
| bUseMergeWeightAttribute | bool | Controls whether input points will use a weight driven by an attribute | Elements/PCGCollapsePoints.h |
|
| ComparisonMode | EPCGCollapseComparisonMode | Elements/PCGCollapsePoints.h |
|
|
| DistanceThreshold | double | Distance at which we will stop collapsing points. | Elements/PCGCollapsePoints.h |
|
| MergeWeightAttribute | FPCGAttributePropertyInputSelector | Attribute that will drive relative weight when merging points (only in the Weighted mode). | Elements/PCGCollapsePoints.h |
|
| Mode | EPCGCollapseMode | Elements/PCGCollapsePoints.h |
|
|
| VisitOrder | EPCGCollapseVisitOrder | Determines order in which we will collapse points pair-wise. | Elements/PCGCollapsePoints.h |
|
| VisitOrderAttribute | FPCGAttributePropertyInputSelector | Attribute to drive visit order. | Elements/PCGCollapsePoints.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/PCGCollapsePoints.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGCollapsePoints.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGCollapsePoints.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGCollapsePoints.h | ||
virtual bool UseSeed () |
By default, settings do not use a seed. | Elements/PCGCollapsePoints.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGCollapsePoints.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | Elements/PCGCollapsePoints.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGCollapsePoints.h |