Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/MouseDeltaTracker.h |
| Include | #include "MouseDeltaTracker.h" |
Syntax
class FMouseDeltaTracker
Remarks
Keeps track of mouse movement deltas in the viewports.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AbsoluteTranslationConvertMouseToDragRot
(
FSceneView* InView, |
Absolute Translation conversion from mouse position on the screen to widget axis movement/rotation. | |
| void | AddDelta
(
FEditorViewportClient* InViewportClient, |
Adds delta movement into the tracker. | |
| void | ConvertMovementDeltaToDragRot
(
FSceneView* InView, |
Converts the delta movement to drag/rotation/scale based on the viewport type or widget axis. | |
| bool | EndTracking
(
FEditorViewportClient* InViewportClient |
Called when a mouse button has been released. | |
| const FVector | Returns the absolute delta since dragging started. | ||
| const FVector | Returns the absolute snapped delta since dragging started. | ||
| const FVector | GetDelta () |
Returns the current delta. | |
| const FVector | Returns the current snapped delta. | ||
| const FVector | Returns the unsnapped start position of the current mouse drag. | ||
| const FVector | GetRawDelta () |
Returns the raw mouse delta in pixels since dragging started. | |
| const FVector | Returns the screen space delta since dragging started. | ||
| UE::Widget::EWidgetMode | |||
| const bool | Returns if the user used a modifier to drag a selected item. (Rather than using a widget handle) | ||
| bool | |||
| void | ReduceBy
(
const FVector& In |
Subtracts the specified value from End and EndSnapped. | |
| void | Render3DDragTool
(
const FSceneView* View, |
Renders the drag tool. Does nothing if no drag tool exists. | |
| void | RenderDragTool
(
const FSceneView* View, |
Renders the drag tool. Does nothing if no drag tool exists. | |
| void | Resets the UsedDragModifier flag | ||
| void | Marks that something caused the equivalent of mouse dragging, but with other means (keyboard short cut, mouse wheel). | ||
| void | StartTracking
(
FEditorViewportClient* InViewportClient, |
Begin tracking at the specified location for the specified viewport. | |
| bool | |||
| bool |