engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 属性 | 所有成员列表
FDelayedDrag类 参考

Helper class to assist with delayed drag operations 更多...

#include <DelayedDrag.h>

Public 成员函数

bool AttemptDragStart (const FPointerEvent &MouseEvent)
 Attempt to start a drag from the given mouse event.
 
 FDelayedDrag (FVector2D InInitialPosition, FKey InEffectiveKey)
 Construct this drag helper with an initial posision, and a key (probably mouse button) required for dragging
 
void ForceDragStart ()
 Force the state of this helper to be 'dragging'
 
const FVector2D & GetInitialPosition () const
 Get the initial start position (before any drag has started)
 
bool IsDragging () const
 Check whether we have initiated a drag or not
 
void SetTriggerScaleFactor (float InTriggerScaleFactor)
 Assign a new scale factor to apply to the drag trigger distance
 

Protected 属性

bool bHasInitiatedDrag
 True where the distance dragged is sufficient to have started a drag
 
float DistanceDragged
 The amount we have dragged
 
FKey EffectiveKey
 The key that must be pressed to initiate the drag
 
FVector2D InitialPosition
 The initial position of the drag start
 
float TriggerDistance
 The minimum distance that must be moved before the drag initiates.
 

详细描述

Helper class to assist with delayed drag operations


该类的文档由以下文件生成: