UPlayerInput::MassageAxisInput

Given raw keystate value, returns the "massaged" value.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerInput.h

Include

#include "GameFramework/PlayerInput.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/PlayerInput.cpp

Syntax

virtual float MassageAxisInput
(
    FKey Key,
    float RawValue
)

Remarks

Given raw keystate value, returns the "massaged" value. Override for any custom behavior, such as input changes dependent on a particular game state.