Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGAddAttributeSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGCreateAttribute.h |
| Include | #include "Elements/PCGCreateAttribute.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGAddAttributeSettings : public UPCGSettings
Remarks
Add a new attribute to a spatial data or an attribute set. New attribute can be a constant, hardcoded in the node, or can come from another Attribute Set. Can also add all the attributes coming from the other Attribute Set.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FPCGMetadataTypesConstantStruct | AttributeTypes | ||
| bool | bCopyAllAttributes | ||
| FPCGAttributePropertyInputSelector | InputSource | ||
| FPCGAttributePropertyOutputSelector | OutputTarget |
Constructors
No constructors are accessible with public or protected access.
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyDeprecation
(
UPCGNode* InOutNode |
Any final migration/recovery that can be done after pins are finalized. | |
| void | ApplyStructuralDeprecation
(
UPCGNode* InOutNode |
If settings require structural changes, this will apply them | |
| bool | CanEditChange
(
const FProperty* InProperty |
Passthrough for the simpler method, to avoid modifying the child settings already overriding this method. | |
| 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. | |
| 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 | |||
| 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. | ||
| bool | IsPinUsedByNodeExecution
(
const UPCGPin* InPin |
Returns true if InPin is in use by node (assuming node enabled). | |
| TArray< FPCGPinProperties > | |||
| void | PostLoad () |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | OutputAttributeName_DEPRECATED | ||
| FName | SourceParamAttributeName_DEPRECATED |