Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Functions required to apply standard "Click-Drag" state machines to a target object. See UClickDragBehavior for an example of this kind of state machine.
| Name | IClickDragBehaviorTarget |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseBehaviors/BehaviorTargetInterfaces.h |
| Include Path | #include "BaseBehaviors/BehaviorTargetInterfaces.h" |
Syntax
class IClickDragBehaviorTarget : public IModifierToggleBehaviorTarget
Implements Interfaces
Derived Classes
IClickDragBehaviorTarget derived class hierarchy
- FEditor2DScrollBehaviorTarget
- FEditorDragToolBehaviorTarget
- UAlignObjectsTool
- UAxisAngleGizmo
- UAxisPositionGizmo
- UClickDragTool
- UCubeGridTool
- UDrawSplineTool
- UEditPivotTool
- ULocalClickDragInputBehavior
- UMeshSurfacePointTool
- UPlanePositionGizmo
- UPolyLassoMarqueeMechanic
- URectangleMarqueeInteraction
- URectangleMarqueeMechanic
- UScriptableClickDragTool
- USkeletonEditingTool
- UTransformMeshesTool
- UTransformGizmo
- UMultiButtonClickDragBehavior
- UPathSelectionInteraction
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IClickDragBehaviorTarget() |
BaseBehaviors/BehaviorTargetInterfaces.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInputRayHit CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
Test if target can begin click-drag interaction at this point | BaseBehaviors/BehaviorTargetInterfaces.h | |
void OnClickDrag
(
const FInputDeviceRay& DragPos |
Notify Target that input position has changed | BaseBehaviors/BehaviorTargetInterfaces.h | |
void OnClickPress
(
const FInputDeviceRay& PressPos |
Notify Target that click press ocurred | BaseBehaviors/BehaviorTargetInterfaces.h | |
void OnClickRelease
(
const FInputDeviceRay& ReleasePos |
Notify Target that click release occurred | BaseBehaviors/BehaviorTargetInterfaces.h | |
void OnTerminateDragSequence() |
Notify Target that click-drag sequence has been explicitly terminated (eg by escape key) | BaseBehaviors/BehaviorTargetInterfaces.h |