Navigation
API > API/Editor > API/Editor/SequencerCore > API/Editor/SequencerCore/MVVM > API/Editor/SequencerCore/MVVM/ViewModels
Inheritance Hierarchy
- IDragOperation
- FOutlinerViewModelDragDropOp
- FSequencerObjectBindingDragDropOp
References
| Module | SequencerCore |
| Header | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModels/OutlinerViewModelDragDropOp.h |
| Include | #include "MVVM/ViewModels/OutlinerViewModelDragDropOp.h" |
Syntax
class FOutlinerViewModelDragDropOp :
public FGraphEditorDragDropAction,
public UE::Sequencer::IDragOperation
Remarks
A decorated drag drop operation object for dragging sequencer outliner items.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FText | CurrentHoverText | Current string to show as the decorator text | |
| const FSlateBrush * | CurrentIconBrush | Current icon to be displayed on the decorator | |
| const FSlateBrush * | DefaultHoverIcon | Default icon to be displayed | |
| FText | DefaultHoverText | Default string to show as hover text | |
| TArray< TWeakViewModelPtr< IOutlinerExtension > > | WeakViewModels | The nodes currently being dragged. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Protected construction for derived types. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArrayView< const TWeakViewModelPtr< IOutlinerExtension > > | Gets the nodes which are currently being dragged. | ||
| const FString & | GetTypeId () |
||
| TSharedRef< FOutlinerViewModelDragDropOp > | New
(
TArray< TWeakViewModelPtr< IOutlinerExtension >>&& InDraggedViewModels, |
Construct a new drag/drop operation for dragging a selection of display nodes | |
| void | Reset the tooltip decorator back to its original state | ||
| bool | ValidateParentChildDrop
(
const FViewModel& ProspectiveItem |
Check whether dropping onto the specified outliner item would result in a parent being dropped onto its child |
Overridden from FDragDropOperation
| Type | Name | Description | |
|---|---|---|---|
| void | Construct () |
Constructs the window and widget if applicable | |
| bool | IsOfTypeImpl
(
const FString& Type |
Checks whether this drag and drop operation can cast safely to the specified type. |