| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseTools/ClickDragTool.h |
Include |
#include "BaseTools/ClickDragTool.h" |
class UClickDragTool :
public UInteractiveTool,
public IClickDragBehaviorTarget
UClickDragTool is a base tool that basically just implements IClickDragBehaviorTarget, and on setup registers a UClickDragInputBehavior. You can subclass this Tool to implement basic click-drag type Tools. If you want to do more advanced things, like handle modifier buttons/keys, you will need to implement IClickDragBehaviorTarget yourself
Name | Description | ||
---|---|---|---|
|
CanBeginClickDragSequence ( |
IClickBehaviorTarget implementation Test if target can begin click-drag interaction at this point |
|
|
OnClickDrag ( |
Notify Target that input position has changed |
|
|
OnClickPress ( |
Notify Target that click press ocurred |
|
|
OnClickRelease ( |
Notify Target that click release occurred |
|
|
OnTerminateDragSequence() |
Notify Target that click-drag sequence has been explicitly terminated (eg by escape key) |