Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FDragTool_ViewportChange
- FDragTool::StartDrag()
- FDragTool_ViewportChange::StartDrag()
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/DragTool_ViewportChange.h |
Include | #include "DragTool_ViewportChange.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/DragTool_ViewportChange.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). |