Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata > API/Plugins/PCG/Metadata/UPCGMetadata
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Metadata/PCGMetadata.h |
| Include | #include "Metadata/PCGMetadata.h" |
UFUNCTION (BlueprintCallable, Category="PCG|Metadata",
Meta=(DisplayName="Initialize As Copy", AutoCreateRefTerm="InOptionalEntriesToCopy"))
void K2_InitializeAsCopy
(
const UPCGMetadata * InMetadataToCopy,
const TArray < int64 > & InOptionalEntriesToCopy
)
Remarks
Initializes the metadata from a parent metadata by copying all attributes to it.
Parameters
| Name | Description |
|---|---|
| InMetadataToCopy | Metadata to copy from |
| InOptionalEntriesToCopy | Optional array that contains the keys to copy over. This array order will be respected, so it can also be used to re-order entries. If empty, copy them all. |