Navigation
API > API/Editor > API/Editor/EditorWidgets > API/Editor/EditorWidgets/SDropTarget
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SDropTarget::FArguments
References
| Module | EditorWidgets |
| Header | /Engine/Source/Editor/EditorWidgets/Public/SDropTarget.h |
| Include | #include "SDropTarget.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SDropTarget >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | BackgroundImage
(
const TAttribute< const FSlateBrush* >& InAttribute |
The background image that is applied after the surface. | |
| WidgetArgsType & | bOnlyRecognizeOnDragEnter
(
const TAttribute< bool >& InAttribute |
When this is true, the drop target will only get recognized when entering while drag & dropping. | |
| WidgetArgsType & | bUseAllowDropCache
(
bool InArg |
Whether to cache off the results of AllowDrop. | |
| NamedSlotProperty< FArguments > | Content () |
Content to display for the in the drop target | |
| FOnDrop | ConvertOnDropFn
(
const FOnDropDeprecated& LegacyDelegate |
||
| WidgetArgsType & | HorizontalImage
(
const FSlateBrush* InArg |
Horizontal border image that is used. | |
| WidgetArgsType & | InvalidColor
(
FSlateColor InArg |
The color of the vertical/horizontal images when the drop data is not valid | |
| WidgetArgsType & | OnAllowDrop
(
const FVerifyDrag& InDelegate |
Called to check if an asset is acceptable for dropping | |
| WidgetArgsType & | OnDragEnter
(
const FOnDragAction& InDelegate |
||
| WidgetArgsType & | OnDragLeave
(
const FOnDragAction& InDelegate |
||
| WidgetArgsType & | OnDrop
(
UserClass* InUserObject, |
||
| WidgetArgsType & | OnDrop
(
UserClass* InUserObject, |
||
| WidgetArgsType & | OnDrop
(
TSharedRef< UserClass > InUserObjectRef, |
||
| WidgetArgsType & | OnDrop
(
TSharedRef< UserClass > InUserObjectRef, |
||
| WidgetArgsType & | OnDrop
(
const FOnDropDeprecated& InDeprecatedDelegate |
||
| WidgetArgsType & | OnDrop_Lambda
(
FunctorType&& InFunctor, |
||
| WidgetArgsType & | OnDrop_Raw
(
UserClass* InUserObject, |
||
| WidgetArgsType & | OnDrop_Raw
(
UserClass* InUserObject, |
||
| WidgetArgsType & | OnDrop_Static
(
StaticFuncPtr InFunc, |
||
| WidgetArgsType & | OnDrop_UObject
(
UserClass* InUserObject, |
||
| WidgetArgsType & | OnDrop_UObject
(
UserClass* InUserObject, |
||
| WidgetArgsType & | OnDropped
(
const FOnDrop& InDelegate |
Called when a valid asset is dropped | |
| WidgetArgsType & | OnIsRecognized
(
const FVerifyDrag& InDelegate |
Called to check if an asset is acceptable for dropping | |
| WidgetArgsType & | ValidColor
(
FSlateColor InArg |
The color of the vertical/horizontal images when the drop data is valid | |
| WidgetArgsType & | VerticalImage
(
const FSlateBrush* InArg |
Vertical border image that is used. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FArguments & | operator[]
(
const TSharedRef< SWidget >& InChild |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FArguments & | BackgroundColor
(
const FLinearColor& InBackgroundColor |
BackgroundColor has been removed. You may alter the background brush to get the same effect. | |
| FArguments & | BackgroundColorHover
(
const FLinearColor& InBackgroundColor |
BackgroundColorHover has been removed. You may alter the background brush when hovered to get the same effect. |