Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > StructUtils > FInstancedPropertyBag
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/PropertyBag.h |
Include | #include "StructUtils/PropertyBag.h" |
Source | /Engine/Source/Runtime/CoreUObject/Private/StructUtils/PropertyBag.cpp |
void MigrateToNewBagInstance
(
const FInstancedPropertyBag & InNewBagInstance
)
Remarks
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.
Parameters
Name | Description |
---|---|
InNewBagInstance | New bag composition and values used for new properties. |