FSampleToolsEditorMode::InputAxis

Called for 1D Axis movements - EKeys::MouseX, EKeys::MouseY, and EKeys::MouseWheelAxis Called even if we return true from InputKey which otherwise blocks tracking.

Windows
MacOS
Linux

Override Hierarchy

FEdMode::InputAxis()

FSampleToolsEditorMode::InputAxis()

References

Module

SampleToolsEditorMode

Header

/Engine/Plugins/Experimental/SampleToolsEditorMode/Source/Public/SampleToolsEditorMode.h

Include

#include "SampleToolsEditorMode.h"

Source

/Engine/Plugins/Experimental/SampleToolsEditorMode/Source/Private/SampleToolsEditorMode.cpp

Syntax

virtual bool InputAxis
(
    FEditorViewportClient * InViewportClient,
    FViewport * Viewport,
    int32 ControllerId,
    FKey Key,
    float Delta,
    float DeltaTime
)

Remarks

Called for 1D Axis movements - EKeys::MouseX, EKeys::MouseY, and EKeys::MouseWheelAxis Called even if we return true from InputKey which otherwise blocks tracking. Return value indicates "handled" but has no effect on CapturedMouseMove events (ie we still get them)

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