UPlayerInput::MassageVectorAxisInput

Given raw keystate value of a vector axis, 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 FVector MassageVectorAxisInput
(
    FKey Key,
    FVector RawValue
)

Remarks

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