FAssetDragDropOp

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/DragAndDrop/AssetDragDropOp.h

Include

#include "DragAndDrop/AssetDragDropOp.h"

Syntax

class FAssetDragDropOp : public FDecoratedDragDropOp

Variables

Name Description

Protected variable

TSharedPtr< FAs...

 

AssetThumbnail

Handle to the thumbnail resource

Protected variable

TSharedPtr< FAs...

 

ThumbnailPool

Pool for maintaining and rendering thumbnails

Protected variable

int32

 

ThumbnailSize

The size of the thumbnail

Destructors

Name Description

Public function Virtual

~FAssetDragDropOp()

Functions

Name Description

Public function Const

UActorFactor...

 

GetActorFactory()

Public function Const

const TArray...

 

GetAssetPaths()

Public function Const

const TArray...

 

GetAssets()

Public function Const

FText

 

GetDecoratorText()

Protected function Virtual Const

FText

 

GetFirstItemText()

Protected function Virtual Const

int32

 

GetTotalCount()

Public function Static

const FStrin...

 

GetTypeId()

Public function Const

bool

 

HasAssetPaths()

Public function Const

bool

 

HasAssets()

Protected function Virtual Const

bool

 

HasFiles()

Protected function Virtual Const

bool

 

HasFolders()

Protected function

void

 

Init

(
    TArray< FAssetData > InAssetData,
    TArray< FString > InAssetPaths,
    UActorFactory* InActorFactory
)

Protected function Virtual

void

 

InitThumbnail()

Public function Static

TSharedRef< ...

 

New

(
    FString InAssetPath
)

Public function Static

TSharedRef< ...

 

New

(
    TArray< FString > InAssetPaths
)

Public function Static

TSharedRef< ...

 

New

(
    const FAssetData& InAssetData,
    UActorFactory* ActorFactory
)

Public function Static

TSharedRef< ...

 

New

(
    TArray< FAssetData > InAssetData,
    UActorFactory* ActorFactory
)

Public function Static

TSharedRef< ...

 

New

(
    TArray< FAssetData > InAssetData,
    TArray< FString > InAssetPaths,
    UActorFactory* ActorFactory
)

Overridden from FDragDropOperation

Name Description

Public function Virtual Const

TSharedPtr< ...

 

GetDefaultDecorator()

The widget decorator to use

Public function Virtual Const

bool

 

IsOfTypeImpl

(
    const FString& Type
)

Checks whether this drag and drop operation can cast safely to the specified type.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss