ICurveEditorDragOperation

Interface for all drag operations in the curve editor

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

ICurveEditorDragOperation

ICurveEditorKeyDragOperation

References

Module

CurveEditor

Header

/Engine/Source/Editor/CurveEditor/Public/ICurveEditorDragOperation.h

Include

#include "ICurveEditorDragOperation.h"

Syntax

class ICurveEditorDragOperation

Remarks

Interface for all drag operations in the curve editor

Constructors

Name Description

Public function

ICurveEditorDragOperation()

Destructors

Name Description

Public function Virtual

~ICurveEditorDragOperation()

Functions

Name Description

Public function

void

 

BeginDrag

(
    FVector2D InitialPosition,
    FVector2D CurrentPosition,
    const FPointerEvent& MouseEvent
)

Begin this drag operation with the specified initial and current positions

Public function

void

 

CancelDrag()

Cancel this drag operation

Public function

void

 

Drag

(
    FVector2D InitialPosition,
    FVector2D CurrentPosition,
    const FPointerEvent& MouseEvent
)

Continue this drag operation with the specified initial and current positions

Public function

void

 

EndDrag

(
    FVector2D InitialPosition,
    FVector2D CurrentPosition,
    const FPointerEvent& MouseEvent
)

Finish this drag operation with the specified initial and current positions

Public function

FReply

 

MouseWheel

(
    FVector2D InitialPosition,
    FVector2D CurrentPosition,
    const FPointerEvent& MouseEvent
)

Potentially Evaluate a MouseWheel event which occcured during this drag operation

Protected function Virtual

void

 

OnBeginDrag

(
    FVector2D InitialPosition,
    FVector2D CurrentPosition,
    const FPointerEvent& MouseEvent
)

Implementation method for derived types to begin a drag

Protected function Virtual

void

 

OnCancelDrag()

Implementation method for derived types to cancel a drag

Protected function Virtual

void

 

OnDrag

(
    FVector2D InitialPosition,
    FVector2D CurrentPosition,
    const FPointerEvent& MouseEvent
)

Implementation method for derived types to continue a drag

Protected function Virtual

void

 

OnEndDrag

(
    FVector2D InitialPosition,
    FVector2D CurrentPosition,
    const FPointerEvent& MouseEvent
)

Implementation method for derived types to finish a drag

Protected function Virtual

FReply

 

OnMouseWheel

(
    FVector2D InitialPosition,
    FVector2D CurrentPosition,
    const FPointerEvent& MouseEvent
)

Implementation method for derived types to evaluate a mousewheel event

Protected function Virtual

void

 

OnPaint

(
    const FGeometry& AllottedGeometry,
    FSlateWindowElementList& OutDrawEl...,
    int32 PaintOnLayerId
)

Implementation method for derived types to paint this drag

Public function

void

 

Paint

(
    const FGeometry& AllottedGeometry,
    FSlateWindowElementList& OutDrawEl...,
    int32 PaintOnLayerId
)

Paint this drag operation onto the specified layer