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 ID.
| Name | CopyMatchingValuesByID |
| 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 CopyMatchingValuesByID
(
const FInstancedPropertyBag & Other,
TOptional < TConstArrayView< FGuid > > OptionalPropertyIdsSubset
)
Parameters
| Name | Remarks |
|---|---|
| Other | Reference to the bag to copy the values from |
| OptionalPropertyIdsSubset | Optional array of property ids subset to copy from NewDescs |