Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FInstancedPropertyBag
Description
Changes the type of this bag to the InNewBagInstance, and migrates existing values over. Properties that do not exist in this bag will get values from NewBagInstance. The properties are matched between the bags based on the property ID.
| Name | MigrateToNewBagInstance |
| 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 MigrateToNewBagInstance
(
const FInstancedPropertyBag & InNewBagInstance
)
Parameters
| Name | Remarks |
|---|---|
| InNewBagInstance | New bag composition and values used for new properties. |