SGraphNode::OnDrop

Called when the user is dropping something onto a widget; terminates drag and drop.

Unreal Engine C++ API Reference > Editor > GraphEditor > SGraphNode

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/SGraphNode.h
Include #include "SGraphNode.h"
Source /Engine/Source/Editor/GraphEditor/Private/SGraphNode.cpp
virtual [FReply](API\Runtime\SlateCore\Input\FReply) OnDrop
(
    const [FGeometry](API\Runtime\SlateCore\Layout\FGeometry) & MyGeometry,
    const [FDragDropEvent](API\Runtime\SlateCore\Input\FDragDropEvent) & DragDropEvent
)

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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library