FFolderDropTarget

Helper class to manage moving abritrary data onto a folder

Windows
MacOS
Linux

Inheritance Hierarchy

IDropTarget

FFolderDropTarget

References

Module

SceneOutliner

Header

/Engine/Source/Editor/SceneOutliner/Public/FolderTreeItem.h

Include

#include "FolderTreeItem.h"

Syntax

struct FFolderDropTarget : public SceneOutliner::IDropTarget

Remarks

Helper class to manage moving abritrary data onto a folder

Variables

Name Description

Public variable

FName

 

DestinationPath

The path that we are dropping on

Constructors

Name Description

Public function

FFolderDropTarget

(
    FName InDestinationPath
)

Constructor that takes a path to this folder (including leaf-name)

Overridden from IDropTarget

Name Description

Public function Virtual

void

 

OnDrop

(
    FDragDropPayload& DraggedObjects,
    UWorld& World,
    const FDragValidationInfo& Validat...,
    TSharedRef< SWidget > DroppedOnWidg...
)

Called to drop the specified objects on this item.

Public function Virtual Const

FDragValidat...

 

ValidateDrop

(
    FDragDropPayload& DraggedObjects,
    UWorld& World
)

Called to test whether the specified payload can be dropped onto this tree item

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