Language:
Discover
By Skill Level
By Category

FDragTool_Measure

Choose your OS:

Inheritance Hierarchy

FDragTool

FDragTool_Measure

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...
)

FDragTool_Measure

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.

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/DragTool_Measure.h