Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/DragAndDrop
Inheritance Hierarchy
- TSharedFromThis
- FDragDropOperation
- FDecoratedDragDropOp
- FActorDragDropOp
- FActorDragDropGraphEdOp
- FAssetDragDropOp
- FContentBrowserDataDragDropOp
- FCollectionDragDropOp
- FCompositeDragDropOp
- FSceneOutlinerDragDropOp
- FDataLayerActorMoveOp
- FDataLayerDragDropOp
- FFolderDragDropOp
- FGraphNodeDragDropOp
- FIKRigSkeletonDragDropOp
- FIKRigSolverStackDragDropOp
- FLayerDragDropOp
- FLayersDragDropOp
- FLevelDragDropOp
- FNiagaraParameterDragOperation
- FNiagaraScriptDragOperation
- FNiagaraStackEntryDragDropOp
- FWidgetPropertyDragDropOp
- FWidgetTemplateDragDropOp
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/DragAndDrop/DecoratedDragDropOp.h |
| Include | #include "DragAndDrop/DecoratedDragDropOp.h" |
Syntax
class FDecoratedDragDropOp : public FDragDropOperation
Variables
| Type | Name | Description | |
|---|---|---|---|
| FText | CurrentHoverText | String to show as hover text | |
| const FSlateBrush * | CurrentIconBrush | Icon to be displayed | |
| FSlateColor | CurrentIconColorAndOpacity | The color of the icon to be displayed. | |
| const FSlateBrush * | DefaultHoverIcon | Default icon to be displayed | |
| FSlateColor | DefaultHoverIconColorAndOpacity | Default color and opacity for the default icon to be displayed. | |
| FText | DefaultHoverText | Default string to show as hover text |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FText | Gets the default hover text for this drag drop op. | ||
| FText | GetHoverText () |
||
| const FSlateBrush * | GetIcon () |
||
| FSlateColor | |||
| const FString & | GetTypeId () |
||
| void | Set the decorator back to the icon and text defined by the default | ||
| void | SetToolTip
(
const FText& Text, |
Set the text and icon for this tooltip | |
| void | Setup some default values for the decorator |
Overridden from FDragDropOperation
| Type | Name | Description | |
|---|---|---|---|
| void | Construct () |
Overridden to provide public access | |
| TSharedPtr< SWidget > | The widget decorator to use | ||
| bool | IsOfTypeImpl
(
const FString& Type |
Checks whether this drag and drop operation can cast safely to the specified type. |