Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/HierarchyEditor
Inheritance Hierarchy
- TSharedFromThis
- FDragDropOperation
- FNiagaraHierarchyDragDropOp
- FNiagaraHierarchyInputParameterHierarchyDragDropOp
- FNiagaraSectionDragDropOp
- FNiagaraUserParameterHierarchyDragDropOp
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h |
| Include | #include "ViewModels/HierarchyEditor/NiagaraHierarchyViewModelBase.h" |
Syntax
class FNiagaraHierarchyDragDropOp : public FDragDropOperation
Variables
| Type | Name | Description | |
|---|---|---|---|
| FText | AdditionalLabel | Additional label will be displayed below the custom decorator. | |
| bool | bFromSourceList | If the drag drop op is from the source list, we can further customize the actions | |
| FText | Description | ||
| TWeakPtr< FNiagaraHierarchyItemViewModelBase > | DraggedItem |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNiagaraHierarchyDragDropOp
(
TSharedPtr< FNiagaraHierarchyItemViewModelBase > ItemBase |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | Override this custom decorator function to provide custom widget visuals | ||
| FText | |||
| FText | |||
| TWeakPtr< FNiagaraHierarchyItemViewModelBase > | |||
| bool | |||
| const FString & | GetTypeId () |
||
| void | SetAdditionalLabel
(
FText InText |
||
| void | SetDescription
(
FText InText |
||
| void | SetFromSourceList
(
bool bInFromSourceList |
Overridden from FDragDropOperation
| Type | Name | Description | |
|---|---|---|---|
| void | Construct () |
Constructs the window and widget if applicable. | |
| TSharedPtr< SWidget > | Gets the widget that will serve as the decorator unless overridden. | ||
| bool | IsOfTypeImpl
(
const FString& Type |
Checks whether this drag and drop operation can cast safely to the specified type. |