FArguments

Unreal Engine C++ API Reference > Editor > EditorWidgets > SDropTarget

Inheritance Hierarchy

References

   
Module EditorWidgets
Header /Engine/Source/Editor/EditorWidgets/Public/SDropTarget.h
Include #include "SDropTarget.h"

Syntax

struct FArguments : public [TSlateBaseNamedArgs< SDropTarget >](API\Runtime\SlateCore\Widgets\TSlateBaseNamedArgs)  

Constructors

Type Name Description
  FArguments ()  

Functions

Type Name Description
WidgetArgsTy... BackgroundImage ( const TAttribute< const FSlateBrush... ) The background image that is applied after the surface.
WidgetArgsTy... bOnlyRecognizeOnDragEnter ( const TAttribute< bool >& InAttrib... ) When this is true, the drop target will only get recognized when entering while drag & dropping.
WidgetArgsTy... bUseAllowDropCache ( bool InArg ) Whether to cache off the results of AllowDrop.
NamedSlotPro... Content () Content to display for the in the drop target
FOnDrop ConvertOnDropFn ( const FOnDropDeprecated& LegacyDel... )  
WidgetArgsTy... HorizontalImage ( const FSlateBrush* InArg ) Horizontal border image that is used.
WidgetArgsTy... InvalidColor ( FSlateColor InArg ) The color of the vertical/horizontal images when the drop data is not valid
WidgetArgsTy... OnAllowDrop ( const FVerifyDrag& InDelegate ) Called to check if an asset is acceptable for dropping
WidgetArgsTy... OnDragEnter ( const FOnDragAction& InDelegate )  
WidgetArgsTy... OnDragLeave ( const FOnDragAction& InDelegate )  
WidgetArgsTy... OnDrop ( UserClass* InUserObject, typename FOnDropDeprecated::templat..., VarTypes... Vars )  
WidgetArgsTy... OnDrop ( UserClass* InUserObject, typename FOnDropDeprecated::templat..., VarTypes... Vars )  
WidgetArgsTy... OnDrop ( TSharedRef< UserClass > InUserObjec..., typename FOnDropDeprecated::templat..., VarTypes... Vars )  
WidgetArgsTy... OnDrop ( TSharedRef< UserClass > InUserObjec..., typename FOnDropDeprecated::templat..., VarTypes... Vars )  
WidgetArgsTy... OnDrop ( const FOnDropDeprecated& InDepreca... )  
WidgetArgsTy... OnDrop_Lambda ( FunctorType&& InFunctor, VarTypes... Vars )  
WidgetArgsTy... OnDrop_Raw ( UserClass* InUserObject, typename FOnDropDeprecated::templat..., VarTypes... Vars )  
WidgetArgsTy... OnDrop_Raw ( UserClass* InUserObject, typename FOnDropDeprecated::templat..., VarTypes... Vars )  
WidgetArgsTy... OnDrop_Static ( StaticFuncPtr InFunc, VarTypes... Vars )  
WidgetArgsTy... OnDrop_UObject ( UserClass* InUserObject, typename FOnDropDeprecated::templat..., VarTypes... Vars )  
WidgetArgsTy... OnDrop_UObject ( UserClass* InUserObject, typename FOnDropDeprecated::templat..., VarTypes... Vars )  
WidgetArgsTy... OnDropped ( const FOnDrop& InDelegate ) Called when a valid asset is dropped
WidgetArgsTy... OnIsRecognized ( const FVerifyDrag& InDelegate ) Called to check if an asset is acceptable for dropping
WidgetArgsTy... ValidColor ( FSlateColor InArg ) The color of the vertical/horizontal images when the drop data is valid
WidgetArgsTy... VerticalImage ( const FSlateBrush* InArg ) Vertical border image that is used.

Operators

Type Name Description
FArguments & operator[] ( const TSharedRef< SWidget >& InChi... )  

Typedefs

Name Description
WidgetArgsType  

Deprecated Functions

Type Name Description
FArguments & BackgroundColor ( const FLinearColor& InBackgroundCo... ) BackgroundColor has been removed. You may alter the background brush to get the same effect.
FArguments & BackgroundColorHover ( const FLinearColor& InBackgroundCo... ) BackgroundColorHover has been removed. You may alter the background brush when hovered to get the same effect.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library