| FDelayedDrag
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/DelayedDrag.h |
Include |
#include "Framework/DelayedDrag.h" |
class FDelayedDrag
Helper class to assist with delayed drag operations
Name | Description | ||
---|---|---|---|
|
bHasInitiatedDrag |
True where the distance dragged is sufficient to have started a drag |
|
|
float |
DistanceDragged |
The amount we have dragged |
|
EffectiveKey |
The key that must be pressed to initiate the drag |
|
|
InitialPosition |
The initial position of the drag start |
|
|
float |
TriggerDistance |
The minimum distance that must be moved before the drag initiates. |
Name | Description | |
---|---|---|
|
FDelayedDrag |
Construct this drag helper with an initial posision, and a key (probably mouse button) required for dragging |
Name | Description | ||
---|---|---|---|
|
AttemptDragStart ( |
Attempt to start a drag from the given mouse event. |
|
|
ForceDragStart() |
Force the state of this helper to be 'dragging' |
|
|
const FVecto... |
GetInitialPosition() |
Get the initial start position (before any drag has started) |
|
IsDragging() |
Check whether we have initiated a drag or not |
|
|
SetTriggerScaleFactor ( |
Assign a new scale factor to apply to the drag trigger distance |