Navigation
API > API/Editor > API/Editor/StructUtilsEditor
The hierarchy view model for property bags. Defines core rules for how the hierarchy behaves.
| Name | UPropertyBagHierarchyViewModel |
| Type | class |
| Header File | /Engine/Source/Editor/StructUtilsEditor/Public/HierarchyEditor/PropertyBagHierarchyViewModel.h |
| Include Path | #include "HierarchyEditor/PropertyBagHierarchyViewModel.h" |
Syntax
UCLASS (MinimalAPI)
class UPropertyBagHierarchyViewModel :
public UDataHierarchyViewModelBase ,
public FTickableEditorObject
Inheritance Hierarchy
- FTickableObjectBase → FTickableEditorObject → UPropertyBagHierarchyViewModel
- UObjectBase → UObjectBaseUtility → UObject → UDataHierarchyViewModelBase → UPropertyBagHierarchyViewModel
- FEditorUndoClient → FSelfRegisteringEditorUndoClient → UDataHierarchyViewModelBase → UPropertyBagHierarchyViewModel
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GeneratedPropertyBagHandle | TSharedPtr< IPropertyHandle > | HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
| HierarchyRoot | TWeakObjectPtr< UHierarchyRoot > | HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
| LastHash | uint64 | HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
| OwningObject | TWeakObjectPtr< UObject > | HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
| PropertyBagSchema | TWeakObjectPtr< const UPropertyBagSchema > | HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
| PropertyPathToPropertyBag | TSharedPtr< FPropertyPath > | HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
| PropertyRowGenerator | TSharedPtr< IPropertyRowGenerator > | HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
| PropertyUtilities | TWeakPtr< IPropertyUtilities > | HierarchyEditor/PropertyBagHierarchyViewModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMissingPropertiesToRoot
(
bool bSendNotification |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
TSharedRef< FPropertyPath > GetCurrentPropertyPath() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
TSharedPtr< IPropertyHandle > GetPropertyBagHandle() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
const FPropertyBagPropertyDesc * GetPropertyDescForProperty
(
FGuid PropertyId |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
TConstArrayView< FPropertyBagPropertyDesc > GetPropertyDescs() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
TSharedPtr< IPropertyUtilities > GetPropertyUtilities() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
void Initialize
(
UObject* InOwningObject, |
Initializes the hierarchy view model. | HierarchyEditor/PropertyBagHierarchyViewModel.h | |
void RebuildDetails() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
void RegeneratePropertyBagHandle() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
void SetPropertyUtilities
(
TSharedRef< IPropertyUtilities > InPropertyUtilities |
Updates the property utilities reference. | HierarchyEditor/PropertyBagHierarchyViewModel.h |
Public Virtual
Overridden from UDataHierarchyViewModelBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UHierarchyRoot * GetHierarchyRoot() |
HierarchyEditor/PropertyBagHierarchyViewModel.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
HierarchyEditor/PropertyBagHierarchyViewModel.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FInstancedPropertyBag * GetPropertyBag() |
HierarchyEditor/PropertyBagHierarchyViewModel.h |
Protected Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< FHierarchyElementViewModel > CreateCustomViewModelForElement
(
UHierarchyElement* Element, |
HierarchyEditor/PropertyBagHierarchyViewModel.h |
Overridden from UDataHierarchyViewModelBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSubclassOf< UHierarchyCategory > GetCategoryDataClass() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
virtual ESelectionMode::Type GetHierarchySelectionMode() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
virtual TSubclassOf< UHierarchySection > GetSectionDataClass() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
virtual void OnHierarchyChanged
(
const TInstancedStruct< FHierarchyChangedPayload >& Payload |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
virtual void PostRedo
(
bool bSuccess |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
virtual void PostUndo
(
bool bSuccess |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
virtual bool SupportsSourcePanel() |
We auto-add elements to the hierarchy, so we don't need the source panel. | HierarchyEditor/PropertyBagHierarchyViewModel.h |
Overridden from FTickableObjectBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TStatId GetStatId() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
virtual bool IsTickable() |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
virtual void Tick
(
float DeltaTime |
HierarchyEditor/PropertyBagHierarchyViewModel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< IDetailTreeNode > FindNode
(
const TArray< TSharedRef< IDetailTreeNode > >& RootNodes, |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
static bool FindPropertyHandleRecursive
(
const TSharedPtr< IPropertyHandle >& PropertyHandle, |
HierarchyEditor/PropertyBagHierarchyViewModel.h | ||
static TSharedPtr< IDetailTreeNode > FindTreeNodeRecursive
(
const TSharedRef< IDetailTreeNode >& RootNode, |
HierarchyEditor/PropertyBagHierarchyViewModel.h |