IClickDragBehaviorTarget

Functions required to apply standard "Click-Drag" state machines to a target object.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseBehaviors/BehaviorTargetInterfaces.h

Include

#include "BaseBehaviors/BehaviorTargetInterfaces.h"

Syntax

class IClickDragBehaviorTarget : public IModifierToggleBehaviorTarget

Remarks

Functions required to apply standard "Click-Drag" state machines to a target object. See UClickDragBehavior for an example of this kind of state machine.

Destructors

Name Description

Public function Virtual

~IClickDragBehaviorTarget()

Functions

Name Description

Public function

FInputRayHit

 

CanBeginClickDragSequence

(
    const FInputDeviceRay& PressPos
)

Test if target can begin click-drag interaction at this point

Public function

void

 

OnClickDrag

(
    const FInputDeviceRay& DragPos
)

Notify Target that input position has changed

Public function

void

 

OnClickPress

(
    const FInputDeviceRay& PressPos
)

Notify Target that click press ocurred

Public function

void

 

OnClickRelease

(
    const FInputDeviceRay& ReleasePos
)

Notify Target that click release occurred

Public function

void

 

OnTerminateDragSequence()

Notify Target that click-drag sequence has been explicitly terminated (eg by escape key)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss