UPanelSlot::DragDropPreviewByDesigner

Called by the designer when a design-time widget is dragged.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPanelSlot::DragDropPreviewByDesigner()

UCanvasPanelSlot::DragDropPreviewByDesigner()

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/PanelSlot.h

Include

#include "Components/PanelSlot.h"

Syntax

virtual bool DragDropPreviewByDesigner
(
    const FVector2D & LocalCursorPosition,
    const TOptional< int32 > & XGridSnapSize,
    const TOptional< int32 > & YGridSnapSize
)

Remarks

Called by the designer when a design-time widget is dragged. Returns true if the drag had any effect, false otherwise.