UInputComponent::GetVectorAxisValue

Gets the current vector value of the axis with the specified key.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/InputComponent.h

Include

#include "Components/InputComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/InputComponent.cpp

Syntax

FVector GetVectorAxisValue
(
    const FKey AxisKey
) const

Remarks

Gets the current vector value of the axis with the specified key.

Returns

Axis value.

Parameters

Parameter

Description

AxisKey

The key of the axis.

See Also

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