Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > StructUtils > FInstancedPropertyBag > AddContainerProperty
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 AddContainerProperty
(
const FName InName,
const EPropertyBagContainerType InContainerType,
const EPropertyBagPropertyType InValueType,
const UObject * InValueTypeObject
)
Remarks
Adds a new container property to the bag. If property of same name already exists, it will be replaced with the new type.
Parameters
Name | Description |
---|---|
InName | Name of the new property |
InContainerType | Type of the new container |
InValueType | Type of the new property |
InValueTypeObject | Type object (for struct, class, enum) of the new property |