Navigation
API > API/Editor > API/Editor/UnrealEd
Draws a line in the current viewport and displays the distance between its start/end points in the center of it.
| Name | FDragTool_Measure |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/DragTool_Measure.h |
| Include Path | #include "DragTool_Measure.h" |
Syntax
class FDragTool_Measure : public FDragTool
Inheritance Hierarchy
- FDragTool → FDragTool_Measure
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDragTool_Measure
(
FEditorViewportClient* InViewportClient |
DragTool_Measure.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PixelEnd | FVector2D | DragTool_Measure.h | ||
| PixelStart | FVector2D | Pixel-space positions for start and end | DragTool_Measure.h | |
| ViewportClient | FEditorViewportClient * | DragTool_Measure.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_Measure.h | |
virtual void Render
(
const FSceneView* View, |
DragTool_Measure.h | ||
virtual void StartDrag
(
FEditorViewportClient* InViewportClient, |
Starts a mouse drag behavior. | DragTool_Measure.h |