Navigation
API > API/Runtime > API/Runtime/CoreUObject
A script struct that is used to store the value of the property bag instance. References to UPropertyBag cannot be serialized, instead the array of the properties is serialized and new class is create on load based on the composition of the properties.
Note: Should not be used directly.
| Name | UPropertyBag |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/PropertyBag.h |
| Include Path | #include "StructUtils/PropertyBag.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UPropertyBag : public UScriptStruct
Inheritance Hierarchy
- FStructBaseChain → UStruct → UScriptStruct → UPropertyBag
- UObjectBase → UObjectBaseUtility → UObject → UField → UStruct → UScriptStruct → UPropertyBag
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool ContainsUserDefinedStruct
(
const UUserDefinedStruct* UserDefinedStruct |
StructUtils/PropertyBag.h | ||
const FPropertyBagPropertyDesc * FindPropertyDescByID
(
const FGuid ID |
StructUtils/PropertyBag.h | ||
const FPropertyBagPropertyDesc * FindPropertyDescByIndex
(
int32 Index |
StructUtils/PropertyBag.h | ||
const FPropertyBagPropertyDesc * FindPropertyDescByName
(
const FName Name |
StructUtils/PropertyBag.h | ||
const FPropertyBagPropertyDesc * FindPropertyDescByProperty
(
const FProperty* Property |
StructUtils/PropertyBag.h | ||
const FPropertyBagPropertyDesc * FindPropertyDescByPropertyName
(
const FName PropertyName |
StructUtils/PropertyBag.h | ||
TConstArrayView< FPropertyBagPropertyDesc > GetPropertyDescs() |
Returns property descriptions that specify this struct. | StructUtils/PropertyBag.h | |
bool OwnsPropertyDesc
(
const FPropertyBagPropertyDesc& Desc |
StructUtils/PropertyBag.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DecrementRefCount() |
StructUtils/PropertyBag.h | ||
void IncrementRefCount() |
StructUtils/PropertyBag.h |
Overridden from UStruct
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DestroyStruct
(
void* Dest, |
Destroy a struct in memory. | StructUtils/PropertyBag.h | |
virtual void InitializeStruct
(
void* Dest, |
Initialize a struct over uninitialized memory. | StructUtils/PropertyBag.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FinishDestroy () |
Called to finish destroying the object. | StructUtils/PropertyBag.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const UPropertyBag * GetOrCreateFromDescs
(
const TConstArrayView< FPropertyBagPropertyDesc > InPropertyDescs, |
Returns UPropertyBag struct based on the property descriptions passed in. | StructUtils/PropertyBag.h |