FDragTool_Measure

Draws a line in the current viewport and displays the distance between its start/end points in the center of it.

Windows
MacOS
Linux

Inheritance Hierarchy

FDragTool

FDragTool_Measure

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/DragTool_Measure.h

Include

#include "DragTool_Measure.h"

Syntax

class FDragTool_Measure : public FDragTool

Remarks

Draws a line in the current viewport and displays the distance between its start/end points in the center of it.

Constructors

Name Description

Public function

FDragTool_Measure

(
    FEditorViewportClient* InViewp...
)

Overridden from FDragTool

Name Description

Public function Virtual

void

 

AddDelta

(
    const FVector& InDelta
)

Updates the drag tool's end location with the specified delta.

Public function Virtual

void

 

Render

(
    const FSceneView* View,
    FCanvas* Canvas
)

Public function Virtual

void

 

StartDrag

(
    FEditorViewportClient* InViewp...,
    const FVector& InStart,
    const FVector2D& InStartScreen
)

Starts a mouse drag behavior.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss