Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | FAssetDragDropOp |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/DragAndDrop/AssetDragDropOp.h |
| Include Path | #include "DragAndDrop/AssetDragDropOp.h" |
Syntax
class FAssetDragDropOp : public FDecoratedDragDropOp
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDragDropOperation → FDecoratedDragDropOp → FAssetDragDropOp
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAssetDragDropOp() |
DragAndDrop/AssetDragDropOp.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetData | TArray< FAssetData > | Data for the assets this item represents | DragAndDrop/AssetDragDropOp.h | |
| AssetFactory | TWeakInterfacePtr< IAssetFactoryInterface > | The factory to use if converting this asset to a placed object | DragAndDrop/AssetDragDropOp.h | |
| AssetPaths | TArray< FString > | Data for the asset paths this item represents | DragAndDrop/AssetDragDropOp.h | |
| CustomThumbnailWidget | TAttribute< TSharedPtr< SWidget > > | Custom thumbnail widget | DragAndDrop/AssetDragDropOp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UActorFactory * GetActorFactory() |
DragAndDrop/AssetDragDropOp.h | ||
TScriptInterface< IAssetFactoryInterface > GetAssetFactory() |
DragAndDrop/AssetDragDropOp.h | ||
| DragAndDrop/AssetDragDropOp.h | |||
const TArray< FAssetData > & GetAssets() |
DragAndDrop/AssetDragDropOp.h | ||
FText GetDecoratorText() |
DragAndDrop/AssetDragDropOp.h | ||
bool HasAssetPaths() |
DragAndDrop/AssetDragDropOp.h | ||
bool HasAssets() |
DragAndDrop/AssetDragDropOp.h |
Overridden from FDragDropOperation
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< SWidget > GetDefaultDecorator() |
The widget decorator to use | DragAndDrop/AssetDragDropOp.h | |
virtual bool IsOfTypeImpl
(
const FString& Type |
DragAndDrop/AssetDragDropOp.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetFirstItemText() |
DragAndDrop/AssetDragDropOp.h | ||
virtual int32 GetTotalCount() |
DragAndDrop/AssetDragDropOp.h | ||
virtual bool HasFiles() |
DragAndDrop/AssetDragDropOp.h | ||
virtual bool HasFolders() |
DragAndDrop/AssetDragDropOp.h | ||
void Init
(
TArray< FAssetData > InAssetData, |
DragAndDrop/AssetDragDropOp.h | ||
void Init
(
TArray< FAssetData > InAssetData, |
TODO: Would be nice to remove this, but users could have just forward declared UActorFactory... | DragAndDrop/AssetDragDropOp.h | |
virtual void InitThumbnail() |
DragAndDrop/AssetDragDropOp.h | ||
void SetCustomThumbnailWidget
(
const TSharedRef< SWidget >& InNewThumbnailWidget |
Set a custom thumbnail widget to use instead of the default one | DragAndDrop/AssetDragDropOp.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FString & GetTypeId() |
DragAndDrop/AssetDragDropOp.h | ||
static TSharedRef< FAssetDragDropOp > New
(
FString InAssetPath |
DragAndDrop/AssetDragDropOp.h | ||
static TSharedRef< FAssetDragDropOp > New
(
TArray< FString > InAssetPaths |
DragAndDrop/AssetDragDropOp.h | ||
static TSharedRef< FAssetDragDropOp > New
(
const FAssetData& InAssetData, |
DragAndDrop/AssetDragDropOp.h | ||
static TSharedRef< FAssetDragDropOp > New
(
TArray< FAssetData > InAssetData, |
DragAndDrop/AssetDragDropOp.h | ||
static TSharedRef< FAssetDragDropOp > New
(
const FAssetData& InAssetData, |
DragAndDrop/AssetDragDropOp.h | ||
static TSharedRef< FAssetDragDropOp > New
(
TArray< FAssetData > InAssetData, |
DragAndDrop/AssetDragDropOp.h | ||
static TSharedRef< FAssetDragDropOp > New
(
TArray< FAssetData > InAssetData, |
DragAndDrop/AssetDragDropOp.h | ||
static TSharedRef< FAssetDragDropOp > New
(
TArray< FAssetData > InAssetData, |
DragAndDrop/AssetDragDropOp.h |