Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorViewportClient
- FEditorViewportClient::InputWidgetDelta()
- FCustomizableObjectEditorViewportClient::InputWidgetDelta()
- FLevelEditorViewportClient::InputWidgetDelta()
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
| Include | #include "EditorViewportClient.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp |
virtual bool InputWidgetDelta
&40;
FViewport &42; InViewport,
EAxisList::Type CurrentAxis,
FVector & Drag,
FRotator & Rot,
FVector & Scale
&41;
Remarks
Called to give the viewport client a chance to handle widgets being moved
Parameters
| Name | Description |
|---|---|
| InViewport | The viewport being rendered |
| CurrentAxis | The current widget axis being moved |
| Drag | The amount the widget was translated (the value depends on the coordinate system of the widget. See GetWidgetCoordSystem ) |
| Rot | The amount the widget was rotated (the value depends on the coordinate system of the widget. See GetWidgetCoordSystem ) |
| Scale | The amount the widget was scaled (the value depends on the coordinate system of the widget. See GetWidgetCoordSystem ) |