Navigation
API > API/Editor > API/Editor/SequencerCore > API/Editor/SequencerCore/FOutlinerViewModelDragDropOp
Description
Based on the current view model being hovered, return the 'target' model and the 'drop model'. DropModel is the model we will call to execute the drop. TargetModel is only set if we're inserting before or after a child model of DropModel. We default to using the CurrentViewModel for the DropModel unless we've dragged above or below the CurrentViewModel, in which we default to the CurrentViewModel's parent for the DropModel and the TargetModel as the CurrentViewModel.
| Name | GetTargetAndDropModel |
| Type | function |
| Header File | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModels/OutlinerViewModelDragDropOp.h |
| Include Path | #include "MVVM/ViewModels/OutlinerViewModelDragDropOp.h" |
| Source | /Engine/Source/Editor/SequencerCore/Private/MVVM/ViewModels/OutlinerViewModelDragDropOp.cpp |
virtual void GetTargetAndDropModel
(
const FViewModelPtr & CurrentViewModel,
EItemDropZone InItemDropZone,
FViewModelPtr & DropModel,
FViewModelPtr & TargetModel
) const