Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components > UCanvasPanelSlot
- UPanelSlot::DragDropPreviewByDesigner()
- UCanvasPanelSlot::DragDropPreviewByDesigner()
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/CanvasPanelSlot.h |
Include | #include "Components/CanvasPanelSlot.h" |
Source | /Engine/Source/Runtime/UMG/Private/Components/CanvasPanelSlot.cpp |
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.