AActor::GetInputAxisValue

Syntax

float GetInputAxisValue
(
    const FName InputAxisName
) const

Remarks

Gets the value of the input axis if input is enabled for this actor.

Example Code

MyCharacter.cpp at line 82:

    PlayerInputComponent->BindAxis(MoveForwardBinding);  
    PlayerInputComponent->BindAxis(MoveRightBinding);

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp