Navigation
Unreal Engine C++ API Reference > Editor > MaterialEditor > SLayerHandle
References
Module | MaterialEditor |
Header | /Engine/Source/Editor/MaterialEditor/Public/MaterialPropertyHelpers.h |
Include | #include "MaterialPropertyHelpers.h" |
Source | /Engine/Source/Editor/MaterialEditor/Private/MaterialPropertyHelpers.cpp |
virtual [FReply](API\Runtime\SlateCore\Input\FReply) OnDragDetected ( const [FGeometry](API\Runtime\SlateCore\Layout\FGeometry) & MyGeometry, const [FPointerEvent](API\Runtime\SlateCore\Input\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.
Parameters
Name | Description |
---|---|
InMyGeometry | Widget geometry |
InMouseEvent | MouseMove that triggered the drag |