SLevelViewport::OnDrop

Called when the user is dropping something onto a widget; terminates drag and drop.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

SWidget::OnDrop()

SLevelViewport::OnDrop()

References

Module

LevelEditor

Header

/Engine/Source/Editor/LevelEditor/Public/SLevelViewport.h

Include

#include "SLevelViewport.h"

Source

/Engine/Source/Editor/LevelEditor/Private/SLevelViewport.cpp

Syntax

virtual FReply OnDrop
(
    const FGeometry & MyGeometry,
    const FDragDropEvent & DragDropEvent
)

Remarks

Called when the user is dropping something onto a widget; terminates drag and drop.

Returns

A reply that indicated whether this event was handled.

Parameters

Parameter

Description

MyGeometry

The geometry of the widget receiving the event.

DragDropEvent

The drag and drop event.