Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FInstancedPropertyBag
Description
Copies matching property values from another bag of potentially mismatching layout. The properties are matched between the bags based on the property name.
| Name | CopyMatchingValuesByName |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/PropertyBag.h |
| Include Path | #include "StructUtils/PropertyBag.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/StructUtils/PropertyBag.cpp |
void CopyMatchingValuesByName
(
const FInstancedPropertyBag & Other,
TOptional < TConstArrayView< FName > > OptionalPropertyNamesSubset
)
Parameters
| Name | Remarks |
|---|---|
| Other | Reference to the bag to copy the values from |
| OptionalPropertyNamesSubset | Optional array of property names subset to copy from Other |