Navigation
API > API/Plugins > API/Plugins/GameplayCamerasEditor > API/Plugins/GameplayCamerasEditor/Editors > API/Plugins/GameplayCamerasEditor/Editors/SObjectTreeGraphToolboxEntry
- SWidget::OnDragDetected()
- SObjectTreeGraphToolboxEntry::OnDragDetected()
References
| Module | GameplayCamerasEditor |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCamerasEditor/Public/Editors/SObjectTreeGraphToolbox.h |
| Include | #include "Editors/SObjectTreeGraphToolbox.h" |
| Source | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCamerasEditor/Private/Editors/SObjectTreeGraphToolbox.cpp |
virtual FReply OnDragDetected
(
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
)
Remarks
Called when Slate detects that a widget started to be dragged. Usage: A widget can ask Slate to detect a drag. OnMouseDown() reply with FReply::Handled().DetectDrag( SharedThis(this) ). Slate will either send an OnDragDetected() event or do nothing. If the user releases a mouse button or leaves the widget before a drag is triggered (maybe user started at the very edge) then no event will be sent.