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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback