Navigation
API > API/Plugins > API/Plugins/PCG
Take all the entries/points from the input and perform a select operation on the given attribute/property on the given axis (if the attribute/property is a vector) and output the result into a ParamData. It will also output the selected point if the input is a PointData.
Only support vector attributes and scalar attributes.
CustomAxis is overridable.
In case of the median operation, and the number of elements is even, we arbitrarily chose a point (Index = Num / 2)
If the OutputAttributeName is None, we will use InputSource.GetName().
| Name | UPCGAttributeSelectSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGAttributeSelectElement.h |
| Include Path | #include "Elements/PCGAttributeSelectElement.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGAttributeSelectSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGAttributeSelectSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Axis | EPCGAttributeSelectAxis | Elements/PCGAttributeSelectElement.h |
|
|
| CustomAxis | FVector4 | Elements/PCGAttributeSelectElement.h |
|
|
| InputSource | FPCGAttributePropertyInputSelector | Elements/PCGAttributeSelectElement.h |
|
|
| Operation | EPCGAttributeSelectOperation | Elements/PCGAttributeSelectElement.h |
|
|
| OutputAttributeName | FName | Elements/PCGAttributeSelectElement.h |
|
Functions
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InputAttributeName_DEPRECATED | FName | Elements/PCGAttributeSelectElement.h |