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 InitializeAsCopyWithAttributeFilter
(
const UPCGMetadata * InMetadataToCopy,
const TSet< FName > & InFilteredAttributes,
EPCGMetadataFilterMode InFilterMode,
const TArray < PCGMetadataEntryKey > * InOptionalEntriesToCopy
)
Remarks
Initializes the metadata from a parent metadata by copy filtered attributes only to it
Parameters
| Name | Description |
|---|---|
| InMetadataToCopy | Metadata to copy from |
| InFilteredAttributes | Attributes to keep/exclude, can be empty. |
| InFilterMode | Filter to know if we should keep or exclude InFilteredAttributes. |
| 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. |