Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/HierarchyEditor
Inheritance Hierarchy
- TSharedFromThis
- FTickableEditorObject
- FNiagaraHierarchyItemViewModelBase
- FNiagaraHierarchyRootViewModel
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h |
| Include | #include "ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h" |
Syntax
struct FNiagaraHierarchyRootViewModel : public FNiagaraHierarchyItemViewModelBase
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNiagaraHierarchyRootViewModel
(
UNiagaraHierarchyItemBase* InItem, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< struct FNiagaraHierarchySectionViewModel > | AddSection () |
||
| void | DeleteSection
(
TSharedPtr< FNiagaraHierarchyItemViewModelBase > SectionViewModel |
||
| TArray< TSharedPtr< struct FNiagaraHierarchySectionViewModel > > & | |||
| FOnSingleSectionChanged & | Delegates for when a section is added or removed | ||
| FOnSingleSectionChanged & | |||
| FOnSectionsChanged & | General purpose delegate for when sections change | ||
| FOnSyncPropagated & |
Overridden from FNiagaraHierarchyItemViewModelBase
| Type | Name | Description | |
|---|---|---|---|
| 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 | ||
| void | Initialize () |
Can be implemented for additional logic that the constructor isn't valid for. | |
| void | OnDroppedOnInternal
(
TSharedPtr< FNiagaraHierarchyItemViewModelBase >, |
Override this to handle drop-on logic. |
Typedefs
| Name | Description |
|---|---|
| FOnSectionsChanged | |
| FOnSingleSectionChanged | |
| FOnSyncPropagated |