Where is the MMB->MeasureDistance() function in the Engine src?

I’ve done some lokoing around but I cant find it in the code so far.

When your in orthographic views you can hold and drag the middle-mouse-button to measure in unreal units. I want to use this to make a ruler on my map.

Where might I locate this? I’ve searched the obvious headers to no avail and nothing on google obviously.

Thanks.

Edit: Found it

…\Engine\Source\Editor\UnrealEd\Public\DragTool_Measure.h

I might as well add,

  1. Would stuff like this and drawDebug(line,point,sphere,cone etc.) show up in cooked ‘n’ packaged games?
  2. Any tips to getting this to work in-game easier than just reverse engineering or am I better off using a widget/DebugDrawLine()?