Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGAttributeSelectSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGAttributeSelectElement.h |
| Include | #include "Elements/PCGAttributeSelectElement.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGAttributeSelectSettings : public UPCGSettings
Remarks
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().
Variables
| Type | Name | Description | |
|---|---|---|---|
| EPCGAttributeSelectAxis | Axis | ||
| FVector4 | CustomAxis | ||
| FPCGAttributePropertyInputSelector | InputSource | ||
| EPCGAttributeSelectOperation | Operation | ||
| FName | OutputAttributeName |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyDeprecation
(
UPCGNode* InOutNode |
Any final migration/recovery that can be done after pins are finalized. | |
| FPCGElementPtr | |||
| FString | Derived classes can implement this to expose additional information or context, such as an asset in use by the node. | ||
| EPCGChangeType | GetChangeTypeForProperty
(
const FName& InPropertyName |
Gets the change impact for a given property. | |
| FName | |||
| 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 > | |||
| void | PostLoad () |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | InputAttributeName_DEPRECATED |