Navigation
API > API/Editor > API/Editor/EditorWidgets > API/Editor/EditorWidgets/SDropTarget
- SWidget::OnDrop()
- SDropTarget::OnDrop()
References
| Module | EditorWidgets |
| Header | /Engine/Source/Editor/EditorWidgets/Public/SDropTarget.h |
| Include | #include "SDropTarget.h" |
| Source | /Engine/Source/Editor/EditorWidgets/Private/SDropTarget.cpp |
virtual FReply OnDrop
&40;
const FGeometry & MyGeometry,
const FDragDropEvent & DragDropEvent
&41;
Remarks
Called when the user is dropping something onto a widget; terminates drag and drop. A reply that indicated whether this event was handled.
Parameters
| Name | Description |
|---|---|
| MyGeometry | The geometry of the widget receiving the event. |
| DragDropEvent | The drag and drop event. |