FDragDropEvent::GetOperationAs

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/DragAndDrop.h

Include

#include "Input/DragAndDrop.h"

Source

/Engine/Source/Runtime/SlateCore/Public/Input/DragAndDrop.inl

Syntax

template<typename OperationType>
TSharedPtr< OperationType > GetOperationAs() const

Returns

the content being dragged if it matched the 'OperationType'; invalid Ptr otherwise.