FEditorViewportClient::InputWidgetDelta

Called to give the viewport client a chance to handle widgets being moved

Windows
MacOS
Linux

Override Hierarchy

FEditorViewportClient::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

Syntax

virtual bool InputWidgetDelta
(
    FViewport * InViewport,
    EAxisList::Type CurrentAxis,
    FVector & Drag,
    FRotator & Rot,
    FVector & Scale
)

Remarks

Called to give the viewport client a chance to handle widgets being moved

Parameters

Parameter

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 )

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