Navigation
Unreal Engine C++ API Reference > Editor > EditorWidgets
Inheritance Hierarchy
References
Module | EditorWidgets |
Header | /Engine/Source/Editor/EditorWidgets/Public/SAssetDropTarget.h |
Include | #include "SAssetDropTarget.h" |
Syntax
class SAssetDropTarget : public [SDropTarget](API\Editor\EditorWidgets\SDropTarget)
Remarks
A widget that displays a hover cue and handles dropping assets of allowed types onto this widget
Functions
Type | Name | Description |
---|---|---|
void | Construct ( const FArguments& InArgs ) | |
FReply | OnDropped ( const FGeometry& InGeometry, const FDragDropEvent& InDragDropEv... ) |
Overridden from SDropTarget
Type | Name | Description |
---|---|---|
bool | OnAllowDrop ( TSharedPtr< FDragDropOperation > Dr... ) | |
bool | OnIsRecognized ( TSharedPtr< FDragDropOperation > Dr... ) |
Overridden from SWidget
Type | Name | Description |
---|---|---|
void | OnDragLeave ( const FDragDropEvent& DragDropEven... ) | Called during drag and drop when the drag leaves a widget. |
Classes
Type | Name | Description |
---|---|---|
Public struct | FArguments |
Typedefs
Name | Description |
---|---|
FAreAssetsAcceptableForDrop | Called when we need to check if an asset type is valid for dropping |
FAreAssetsAcceptableForDropWithReason | Called when we need to check if an asset type is valid for dropping and also will have a reason if it is not |
FIsAssetAcceptableForDrop | Called when we need to check if an asset type is valid for dropping |
FIsAssetAcceptableForDropWithReason | Called when we need to check if an asset type is valid for dropping and also will have a reason if it is not |
FOnAssetDropped | Called when a valid asset is dropped |
FOnAssetsDropped | Called when valid assets are dropped |