Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FDragTool_Measure
- FDragTool::StartDrag()
- FDragTool_Measure::StartDrag()
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/DragTool_Measure.h |
| Include | #include "DragTool_Measure.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/DragTool_Measure.cpp |
virtual void StartDrag
&40;
FEditorViewportClient &42; InViewportClient,
const FVector & InStart,
const FVector2D & InStartScreen
&41;
Remarks
Starts a mouse drag behavior. The start location is snapped to the editor constraints if bUseSnapping is true.
Parameters
| Name | Description |
|---|---|
| InViewportClient | The viewport client in which the drag event occurred. |
| InStart | Where the mouse was when the drag started (world space). |
| InStartScreen | Where the mouse was when the drag started (screen space). |