Navigation
API > API/Editor > API/Editor/UnrealEd
The base class that all drag tools inherit from. The drag tools implement special behaviors for the user clicking and dragging in a viewport.
| Name | FDragTool |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorDragTools.h |
| Include Path | #include "EditorDragTools.h" |
Syntax
class FDragTool
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDragTool
(
FEditorModeTools* InModeTools |
EditorDragTools.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDragTool() |
EditorDragTools.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.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddDelta
(
const FVector& InDelta |
Updates the drag tool's end location with the specified delta. | EditorDragTools.h | |
virtual void EndDrag() |
Ends a mouse drag behavior (the user has let go of the mouse button). | EditorDragTools.h | |
bool IsDragging() |
EditorDragTools.h | ||
| Rendering stub for 2D viewport drag tools. | EditorDragTools.h | ||
virtual void Render
(
const FSceneView* View, |
EditorDragTools.h | ||
virtual void Render3D
(
const FSceneView* View, |
EditorDragTools.h | ||
virtual void StartDrag
(
FEditorViewportClient* InViewportClient, |
Starts a mouse drag behavior. | EditorDragTools.h |