Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/FInstancedPropertyBag
Description
Clears all properties, then adds the supplied properties to the bag and sets their respective values. Numeric property values will be converted if possible, when a property's type changes.
| Name | ReplaceAllPropertiesAndValues |
| 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 |
EPropertyBagResult ReplaceAllPropertiesAndValues
(
const TConstArrayView< FPropertyBagPropertyDesc > InDescs,
const TConstArrayView< TConstArrayView< uint8 > > InValues
)
Parameters
| Name | Remarks |
|---|---|
| InDescs | Descriptors of new properties to add. Must be the same size as InValues. |
| InValues | Values of new properties to add. Must be the same size as InDescs. |