UPanelSlot::DragDropPreviewByDesigner

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss