Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Blueprint/DragDropOperation.h |
Include |
#include "Blueprint/DragDropOperation.h" |
class UDragDropOperation : public UObject
This class is the base drag drop operation for UMG, extend it to add additional data and add new functionality.
Name | Description | ||
---|---|---|---|
|
TObjectPtr< cla... |
DefaultDragVisual |
The Drag Visual is the widget to display when dragging the item. |
|
Offset |
A percentage offset (-1..+1) from the Pivot location, the percentage is of the desired size of the dragged visual. |
|
|
OnDragCancelled |
||
|
OnDragged |
||
|
OnDrop |
||
|
TObjectPtr< UOb... |
Payload |
The payload of the drag operation. |
|
Pivot |
Controls where the drag widget visual will appear when dragged relative to the pointer performing the drag operation. |
|
|
Tag |
A simple string tag you can optionally use to provide extra metadata about the operation. |
Name | Description | |
---|---|---|
|
UDragDropOperation ( |
Name | Description | ||
---|---|---|---|
|
DragCancelled ( |
||
|
Dragged ( |
||
|
Drop ( |