SAssetDropTarget

A widget that displays a hover cue and handles dropping assets of allowed types onto this widget

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

EditorWidgets

Header

/Engine/Source/Editor/EditorWidgets/Public/SAssetDropTarget.h

Include

#include "SAssetDropTarget.h"

Syntax

class SAssetDropTarget : public SDropTarget

Remarks

A widget that displays a hover cue and handles dropping assets of allowed types onto this widget

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Protected function

FReply

 

OnDropped

(
    TSharedPtr< FDragDropOperation > Dr...
)

Overridden from SDropTarget

Name Description

Protected function Virtual Const

bool

 

OnAllowDrop

(
    TSharedPtr< FDragDropOperation > Dr...
)

Protected function Virtual Const

bool

 

OnIsRecognized

(
    TSharedPtr< FDragDropOperation > Dr...
)

Classes

Name

Description

Public struct

FArguments

Typedefs

Name

Description

FIsAssetAcceptableForDrop

Called when we need to check if an asset type is valid for dropping

FOnAssetDropped

Called when a valid asset is dropped

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