Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGMetadata
Description
Copies an attribute from another metadata, including entries & values. Warning: this is intended when dealing with the same data set
| Name | BP_CopyAttribute |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadata.h |
| Include Path | #include "Metadata/PCGMetadata.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Metadata/PCGMetadata.cpp |
UFUNCTION (BlueprintCallable, Category="PCG|Metadata|Advanced",
Meta=(DisplayName="Copy Attribute"))
void BP_CopyAttribute
(
const UPCGMetadata * InOther,
FName AttributeToCopy,
FName NewAttributeName
)