Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FDragTool_ViewportChange
Description
Starts a mouse drag behavior. The start location is snapped to the editor constraints if bUseSnapping is true.
Virtual Inheritance
- FDragTool::StartDrag → FDragTool_ViewportChange::StartDrag
| Name | StartDrag |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/DragTool_ViewportChange.h |
| Include Path | #include "DragTool_ViewportChange.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/DragTool_ViewportChange.cpp |
virtual void StartDrag
(
FEditorViewportClient * InViewportClient,
const FVector & InStart,
const FVector2D & InStartScreen
)
Parameters
| Name | Remarks |
|---|---|
| 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). |