Module |
|
Header |
/Engine/Source/Editor/EditorWidgets/Public/SDropTarget.h |
Include |
#include "SDropTarget.h" |
class SDropTarget : public SCompoundWidget
A widget that displays a hover cue and handles dropping assets of allowed types onto this widget
Name | Description | ||
---|---|---|---|
|
AllowDrop ( |
||
|
Construct ( |
||
|
GetBackgroundBrightness() |
Get the brightness on the background. |
|
|
GetDragOverlayVisibility() |
||
|
OnAllowDrop ( |
||
|
OnIsRecognized ( |
Name | Description | ||
---|---|---|---|
|
OnDragEnter ( |
DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget. |
|
|
OnDragLeave ( |
Called during drag and drop when the drag leaves a widget. |
|
|
OnDragOver ( |
Called during drag and drop when the the mouse is being dragged over a widget. |
|
|
OnDrop ( |
Called when the user is dropping something onto a widget; terminates drag and drop. |
|
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
FOnDrop |
Called when a valid asset is dropped |
FVerifyDrag |