Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
The base class that all drag tools inherit from. The drag tools implement special behaviors for the user clicking and dragging in a viewport.
Inheriting from IClickDragBehaviorTarget so that Drag Tools logic can be shared between legacy and ITF usage of the same tools
| Name | FEditorDragToolBehaviorTarget |
| Type | class |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorDragTools/EditorDragToolBehaviorTarget.h |
| Include Path | #include "EditorDragTools/EditorDragToolBehaviorTarget.h" |
Syntax
class FEditorDragToolBehaviorTarget : public IClickDragBehaviorTarget
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEditorDragToolBehaviorTarget
(
FEditorViewportClient* InEditorViewportClient |
EditorDragTools/EditorDragToolBehaviorTarget.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnToolStateChange | TMulticastDelegate_NoParams< void > | EditorDragTools/EditorDragToolBehaviorTarget.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bConvertDelta | bool | Does this drag tool need to have the mouse movement converted to the viewport orientation? | EditorDragTools/EditorDragToolBehaviorTarget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsActivationChordPressed
(
const FInputChord& InChord |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
bool IsDragging() |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
FOnToolStateChange & OnActivateTool() |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
FOnToolStateChange & OnDeactivateTool() |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
virtual void Render
(
FCanvas* Canvas |
Rendering stub for 2D viewport drag tools. | EditorDragTools/EditorDragToolBehaviorTarget.h | |
virtual void Render
(
const FSceneView* InView, |
EditorDragTools/EditorDragToolBehaviorTarget.h |
Overridden from IClickDragBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FInputRayHit CanBeginClickDragSequence
(
const FInputDeviceRay& InPressPos |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
virtual void OnClickDrag
(
const FInputDeviceRay& InDragPos |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
virtual void OnClickPress
(
const FInputDeviceRay& InPressPos |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
virtual void OnClickRelease
(
const FInputDeviceRay& InReleasePos |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
virtual void OnTerminateDragSequence() |
EditorDragTools/EditorDragToolBehaviorTarget.h |
Overridden from IModifierToggleBehaviorTarget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnForceEndCapture() |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
virtual void OnUpdateModifierState
(
int InModifierID, |
EditorDragTools/EditorDragToolBehaviorTarget.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< FEditorModeID > GetUnsupportedModes() |
EditorDragTools/EditorDragToolBehaviorTarget.h | ||
bool IsCurrentModeSupported() |
EditorDragTools/EditorDragToolBehaviorTarget.h |