Navigation
API > API/Editor > API/Editor/DataHierarchyEditor
| Name | FHierarchyCategoryViewModel |
| Type | struct |
| Header File | /Engine/Source/Editor/DataHierarchyEditor/Public/DataHierarchyViewModelBase.h |
| Include Path | #include "DataHierarchyViewModelBase.h" |
Syntax
struct FHierarchyCategoryViewModel : public FHierarchyElementViewModel
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FHierarchyElementViewModel → FHierarchyCategoryViewModel
- FTickableObjectBase → FTickableEditorObject → FHierarchyElementViewModel → FHierarchyCategoryViewModel
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHierarchyCategoryViewModel
(
UHierarchyCategory* InCategory, |
DataHierarchyViewModelBase.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FHierarchyCategoryViewModel() |
DataHierarchyViewModelBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FText GetCategoryName() |
DataHierarchyViewModelBase.h | ||
bool IsTopCategoryActive() |
DataHierarchyViewModelBase.h |
Overridden from FHierarchyElementViewModel
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FCanPerformActionResults CanDragInternal () |
Should return true if draggable. | DataHierarchyViewModelBase.h | |
virtual FCanPerformActionResults CanDropOnInternal
(
TSharedPtr< FHierarchyElementViewModel >, |
Should return true if the given drag drop operation is allowed to succeed. | DataHierarchyViewModelBase.h | |
virtual bool CanHaveChildren() |
Needs to be true in order to allow drag & drop operations to parent items to this item | DataHierarchyViewModelBase.h | |
virtual bool CanRenameInternal() |
Should return true if renamable | DataHierarchyViewModelBase.h | |
virtual const UHierarchySection * GetSectionInternal () |
Can be overridden to support sections in the source list. | DataHierarchyViewModelBase.h | |
virtual FCanPerformActionResults IsEditableByUser() |
Should return true if properties are supposed to be editable & needs to be true if typical operations should work on it (renaming, dragging, deleting etc.) | DataHierarchyViewModelBase.h | |
virtual void OnDroppedOnInternal
(
TSharedPtr< FHierarchyElementViewModel >, |
Override this to handle drop-on logic. | DataHierarchyViewModelBase.h | |
virtual void RenameInternal
(
FName NewName |
DataHierarchyViewModelBase.h |