Navigation
API > API/Editor > API/Editor/WorldBrowser
Interface for validating drag/drop movement
| Name | IDropTarget |
| Type | struct |
| Header File | /Engine/Source/Editor/WorldBrowser/Public/IWorldTreeItem.h |
| Include Path | #include "IWorldTreeItem.h" |
Syntax
struct IDropTarget
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void OnDrop
(
const FDragDropEvent& DragEvent, |
Called to drop the specified objects on this item. Only called if ValidateDrop() allows. | IWorldTreeItem.h | |
FValidationInfo ValidateDrop
(
const FDragDropEvent& DragEvent |
Called to test whether the specified payload can be dropped onto this tree item | IWorldTreeItem.h |