FInputAxisKeyMapping

Defines a mapping between an axis and key

Choose your operating system:

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