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" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Metadata/PCGMetadata.cpp |
void InitializeAsCopy
(
const UPCGMetadata * InMetadataToCopy,
const TArray < PCGMetadataEntryKey > * 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. Can be null. |