Navigation
API > API/Editor > API/Editor/EditorWidgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SDropTarget
- SAssetDropTarget
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
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| FReply | OnDropped
(
const FGeometry& InGeometry, |
Overridden from SDropTarget
| Type | Name | Description | |
|---|---|---|---|
| bool | OnAllowDrop
(
TSharedPtr< FDragDropOperation > DragDropOperation |
||
| bool | OnIsRecognized
(
TSharedPtr< FDragDropOperation > DragDropOperation |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| void | OnDragLeave
(
const FDragDropEvent& DragDropEvent |
Called during drag and drop when the drag leaves a widget. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| 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 |