Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/HierarchyEditor
Inheritance Hierarchy
- TSharedFromThis
- FTickableEditorObject
- FNiagaraHierarchyItemViewModelBase
- FNiagaraHierarchySectionViewModel
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h |
| Include | #include "ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h" |
Syntax
struct FNiagaraHierarchySectionViewModel : public FNiagaraHierarchyItemViewModelBase
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNiagaraHierarchySectionViewModel
(
UNiagaraHierarchySection* InItem, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FSlateBrush * | |||
| FName | |||
| FText | |||
| FText | |||
| void | SetSectionImage
(
const FSlateBrush* InSectionImage |
||
| void | SetSectionName
(
FName InSectionName |
||
| void | SetSectionNameAsText
(
const FText& Text |
Overridden from FNiagaraHierarchyItemViewModelBase
| Type | Name | Description | |
|---|---|---|---|
| FCanPerformActionResults | Should return true if draggable. | ||
| FCanPerformActionResults | CanDropOnInternal
(
TSharedPtr< FNiagaraHierarchyItemViewModelBase >, |
Should return true if the given drag drop operation is allowed to succeed. | |
| bool | Needs to be true in order to allow drag & drop operations to parent items to this item | ||
| bool | We can only rename hierarchy sections | ||
| void | |||
| FCanPerformActionResults | Only hierarchy sections are editable | ||
| void | OnDroppedOnInternal
(
TSharedPtr< FNiagaraHierarchyItemViewModelBase >, |
Override this to handle drop-on logic. | |
| void | PopulateDynamicContextMenuSection
(
FToolMenuSection& DynamicSection |
Override this to register dynamic context menu entries when right clicking a hierarchy item | |
| void | RenameInternal
(
FName NewName |