Language:
Discover
By Skill Level
By Category

FInputAxisKeyMapping

Choose your OS:

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

bool

 

operator<

(
    const FInputAxisKeyMapping & Other
)

Public function

bool

 

operator==

(
    const FInputAxisKeyMapping & Other
)

See Also

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/PlayerInput.h