UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGameDragDropOperation Class Reference

#include <DragAndDrop.h>

+ Inheritance diagram for FGameDragDropOperation:

Public Member Functions

SLATECORE_API FGameDragDropOperation ()
 
virtual SLATECORE_API FVector2D GetDecoratorPosition () const override
 
- Public Member Functions inherited from FDragDropOperation
SLATECORE_API FDragDropOperation ()
 
virtual SLATECORE_API ~FDragDropOperation ()
 
template<class TType >
bool IsOfType () const
 
virtual bool AffectedByPointerEvent (const FPointerEvent &PointerEvent)
 
virtual SLATECORE_API void OnDrop (bool bDropWasHandled, const FPointerEvent &MouseEvent)
 
virtual SLATECORE_API void OnDragged (const class FDragDropEvent &DragDropEvent)
 
virtual SLATECORE_API FCursorReply OnCursorQuery ()
 
virtual TSharedPtr< SWidgetGetDefaultDecorator () const
 
virtual SLATECORE_API void SetDecoratorVisibility (bool bVisible)
 
virtual bool IsExternalOperation () const
 
virtual bool IsWindowlessOperation () const
 
SLATECORE_API void SetCursorOverride (TOptional< EMouseCursor::Type > CursorType)
 
virtual bool IsOfTypeImpl (const FString &Type) const
 
- Public Member Functions inherited from TSharedFromThis< FDragDropOperation >
TSharedRef< FDragDropOperation, Mode > AsShared ()
 
TSharedRef< FDragDropOperation const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FDragDropOperation, Mode > AsWeak ()
 
TWeakPtr< FDragDropOperation const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Protected Attributes

FVector2D DecoratorPosition
 
- Protected Attributes inherited from FDragDropOperation
bool bCreateNewWindow
 
TSharedPtr< SWindowCursorDecoratorWindow
 
TOptional< EMouseCursor::TypeMouseCursor
 
TOptional< EMouseCursor::TypeMouseCursorOverride
 

Additional Inherited Members

- Protected Member Functions inherited from FDragDropOperation
virtual SLATECORE_API void Construct ()
 
SLATECORE_API void CreateCursorDecoratorWindow ()
 
SLATECORE_API void DestroyCursorDecoratorWindow ()
 
virtual TSharedPtr< FDragDropOperationConvertTo (const FString &TypeId)
 
- Protected Member Functions inherited from TSharedFromThis< FDragDropOperation >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FDragDropOperation >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Constructor & Destructor Documentation

◆ FGameDragDropOperation()

FGameDragDropOperation::FGameDragDropOperation ( )

Default constructor.

Member Function Documentation

◆ GetDecoratorPosition()

FVector2D FGameDragDropOperation::GetDecoratorPosition ( ) const
overridevirtual

Gets the desired position of the decorator in absolute space.

Reimplemented from FDragDropOperation.

Member Data Documentation

◆ DecoratorPosition

FVector2D FGameDragDropOperation::DecoratorPosition
protected

The absolute position of the decorator.


The documentation for this class was generated from the following files: