FLevelEditorViewportClient::InputAxis

Check an axis movement received by the viewport.

Windows
MacOS
Linux

Override Hierarchy

FViewportClient::InputAxis()

FEditorViewportClient::InputAxis()

FLevelEditorViewportClient::InputAxis()

References

Module

UnrealEd

Header

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

Include

#include "LevelEditorViewport.h"

Source

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

Syntax

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

Remarks

Check an axis movement received by the viewport. If the viewport client uses the movement, it should return true to consume it.

Returns

True to consume the axis movement, false to pass it on.

Parameters

Parameter

Description

Viewport

The viewport which the axis movement is from.

ControllerId

The controller which the axis movement is from.

Key

The name of the axis which moved.

Delta

The axis movement delta.

DeltaTime

The time since the last axis update.

NumSamples

The number of device samples that contributed to this Delta, useful for things like smoothing

bGamepad

input came from gamepad (ie xbox controller)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback