Navigation
API > API/Editor > API/Editor/UnrealEd
Draws a line in the current viewport and display the view options
| Name | FDragTool_ViewportChange |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/DragTool_ViewportChange.h |
| Include Path | #include "DragTool_ViewportChange.h" |
Syntax
class FDragTool_ViewportChange : public FDragTool
Inheritance Hierarchy
- FDragTool → FDragTool_ViewportChange
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDragTool_ViewportChange
(
FLevelEditorViewportClient* InviewportClient |
DragTool_ViewportChange.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LevelViewportClient | FLevelEditorViewportClient * | DragTool_ViewportChange.h | ||
| ViewOption | ELevelViewportType | DragTool_ViewportChange.h | ||
| ViewOptionOffset | FVector2D | DragTool_ViewportChange.h |
Functions
Public
Overridden from FDragTool
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddDelta
(
const FVector& InDelta |
Updates the drag tool's end location with the specified delta. | DragTool_ViewportChange.h | |
virtual void EndDrag() |
Ends a mouse drag behavior (the user has let go of the mouse button). | DragTool_ViewportChange.h | |
virtual void Render
(
const FSceneView* View, |
DragTool_ViewportChange.h | ||
virtual void StartDrag
(
FEditorViewportClient* InViewportClient, |
Starts a mouse drag behavior. | DragTool_ViewportChange.h |