Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components > UPanelSlot
- UPanelSlot::DragDropPreviewByDesigner()
- UCanvasPanelSlot::DragDropPreviewByDesigner()
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/PanelSlot.h |
Include | #include "Components/PanelSlot.h" |
virtual bool DragDropPreviewByDesigner
&40;
const FVector2D & LocalCursorPosition,
const TOptional< int32 > & XGridSnapSize,
const TOptional< int32 > & YGridSnapSize
&41;
Remarks
Called by the designer when a design-time widget is dragged. Returns true if the drag had any effect, false otherwise.