Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGAttributeSelectSettings
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/PCGAttributeSelectElement.h |
| Include | #include "Elements/PCGAttributeSelectElement.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
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 | |
|---|---|---|---|
| FName | Derived classes can implement this to expose additional name information in the logs | ||
| void | ApplyDeprecation
(
UPCGNode* InOutNode |
Any final migration/recovery that can be done after pins are finalized. | |
| FPCGElementPtr | |||
| 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 > |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | InputAttributeName_DEPRECATED |