Navigation
API > API/Plugins > API/Plugins/AvalancheInteractiveTools > API/Plugins/AvalancheInteractiveTools/Behaviors
Inheritance Hierarchy
- IModifierToggleBehaviorTarget
- IAvaSingleClickAndDragBehaviorTarget
References
| Module | AvalancheInteractiveTools |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheInteractiveTools/Public/Behaviors/AvaSingleClickAndDragBehavior.h |
| Include | #include "Behaviors/AvaSingleClickAndDragBehavior.h" |
Syntax
class IAvaSingleClickAndDragBehaviorTarget : public IModifierToggleBehaviorTarget
Remarks
Functions required to apply standard "Click" and "Click-Drag" state machines to a target object.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | CanBeginSingleClickAndDragSequence
(
const FInputDeviceRay& InPressPos |
Test if target can begin click-drag interaction at this point | |
| void | OnClickDrag
(
const FInputDeviceRay& InDragPos |
Notify Target that input position has changed | |
| void | OnClickPress
(
const FInputDeviceRay& InPressPos |
Notify Target that click press ocurred | |
| void | OnClickRelease
(
const FInputDeviceRay& InReleasePos, |
Notify Target that click release occurred | |
| void | OnDragStart
(
const FInputDeviceRay& InDragPos |
Notify Target that the drag process has started | |
| void | Notify Target that click-drag sequence has been explicitly terminated (eg by escape key) |