Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGAttributeTransferSettings
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/PCGAttributeTransferElement.h |
| Include | #include "Elements/PCGAttributeTransferElement.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGAttributeTransferSettings : public UPCGSettings
Remarks
Transfer an attribute from a source metadata to a target data. Only support Spatial to Spatial and Points to Points, and they need to match.
- For Spatial data, number of entries in the metadata should be the same between source and target.
- For Point data, number of points should be the same between source and target.
To do the same but with a Source param data, use CreateAttribute.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FPCGAttributePropertyInputSelector | SourceAttributeProperty | ||
| FPCGAttributePropertyOutputSelector | TargetAttributeProperty |
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 | |||
| EPCGDataType | GetCurrentPinTypes
(
const UPCGPin* InPin |
Returns the current pin types, which can either be the static types from the pin properties, or a dynamic type based on connected edges. | |
| FName | |||
| FText | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| bool | If the node has any dynamic pins that can change based on input or settings | ||
| 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. |