Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/StructUtils
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UField
- UStruct
- UScriptStruct
- UPropertyBag
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/StructUtils/PropertyBag.h |
| Include | #include "StructUtils/PropertyBag.h" |
Syntax
UCLASS (Transient)
class UPropertyBag : public UScriptStruct
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FPropertyBagPropertyDesc > | PropertyDescs | ||
| std::atomic< int32 > | RefCount |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ContainsUserDefinedStruct
(
const UUserDefinedStruct* UserDefinedStruct |
||
| void | |||
| const FPropertyBagPropertyDesc * | FindPropertyDescByID
(
const FGuid ID |
||
| const FPropertyBagPropertyDesc * | FindPropertyDescByName
(
const FName Name |
||
| const FPropertyBagPropertyDesc * | FindPropertyDescByProperty
(
const FProperty* Property |
||
| const FPropertyBagPropertyDesc * | FindPropertyDescByPropertyName
(
const FName PropertyName |
||
| const UPropertyBag * | GetOrCreateFromDescs
(
const TConstArrayView< FPropertyBagPropertyDesc > InPropertyDescs, |
Returns UPropertyBag struct based on the property descriptions passed in. | |
| TConstArrayView< FPropertyBagPropertyDesc > | Returns property descriptions that specify this struct. | ||
| void |
Overridden from UStruct
| Type | Name | Description | |
|---|---|---|---|
| void | DestroyStruct
(
void* Dest, |
Destroy a struct in memory. | |
| void | InitializeStruct
(
void* Dest, |
Initialize a struct over uninitialized memory. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Called to finish destroying the object. |