Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorViewportClient
Description
Determines which axis InKey and InDelta most refer to and returns a corresponding FVector. This vector represents the mouse movement translated into the viewports/widgets axis space.
| Name | TranslateDelta |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h |
| Include Path | #include "EditorViewportClient.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp |
FVector TranslateDelta
(
FKey InKey,
float InDelta,
bool InNudge
)
Parameters
| Name | Remarks |
|---|---|
| InNudge | If 1, this delta is coming from a keyboard nudge and not the mouse |