| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseBehaviors/ClickDragBehavior.h |
Include |
#include "BaseBehaviors/ClickDragBehavior.h" |
class ULocalClickDragInputBehavior :
public UClickDragInputBehavior,
public IClickDragBehaviorTarget
ULocalClickDragInputBehavior is an implementation of UClickDragInputBehavior that also implements IClickDragBehaviorTarget directly, via a set of local lambda functions. To use/customize this class the client replaces the lambda functions with their own. This avoids having to create a second IClickDragBehaviorTarget implementation for trivial use-cases.
Name | Description | ||
---|---|---|---|
|
CanBeginClickDragFunc |
Lambda implementation of CanBeginClickDragSequence |
|
|
OnClickDragFunc |
Lambda implementation of OnClickDrag |
|
|
OnClickPressFunc |
Lambda implementation of OnClickPress |
|
|
OnClickReleaseFunc |
Lambda implementation of OnClickRelease |
|
|
OnTerminateFunc |
Lambda implementation of OnTerminateDragSequence |
Name | Description | ||
---|---|---|---|
|
Initialize() |
Call this to initialize the class |
Name | Description | ||
---|---|---|---|
|
CanBeginClickDragSequence ( |
IClickDragBehaviorTarget implementation |
|
|
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) |