FInputAxisKeyMapping

Defines a mapping between an axis and key

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerInput.h"

Syntax

struct FInputAxisKeyMapping

Remarks

Defines a mapping between an axis and key

Variables

Name Description

Public variable

FName

 

AxisName

Friendly name of axis, e.g "MoveForward"

Public variable

FKey

 

Key

Key to bind it to.

Public variable

float

 

Scale

Multiplier to use for the mapping when accumulating the axis value

Constructors

Name Description

Public function

FInputAxisKeyMapping

(
    const FName InAxisName,
    const FKey InKey,
    const float InScale
)

Operators

Name Description

Public function Const

bool

 

operator<

(
    const FInputAxisKeyMapping& Other
)

Public function Const

bool

 

operator==

(
    const FInputAxisKeyMapping& Other
)

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