FEditorViewportClient::TranslateDelta

Determines which axis InKey and InDelta most refer to and returns a corresponding [FVector](API\Runtime\Core\Math\FVector).

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EditorViewportClient.h

Include

#include "EditorViewportClient.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorViewportClient.cpp

Syntax

FVector TranslateDelta
(
    FKey InKey,
    float InDelta,
    bool InNudge
)

Remarks

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.

Parameters

Parameter

Description

InNudge

If 1, this delta is coming from a keyboard nudge and not the mouse

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss