UInputComponent::BindAxisKey

Binds a delegate function for an axis key (e.g. Mouse X).

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/InputComponent.h"

Syntax

template<class UserClass>
FInputAxisKeyBinding & BindAxisKey
(
    const FKey AxisKey,
    UserClass * Object,
    typename FInputAxisHandlerSignature::TUObjectMethodDelegate< UserClass >::FMethodPtr Func
)

Remarks

Binds a delegate function for an axis key (e.g. Mouse X). Returned reference is only guaranteed to be valid until another axis key is bound.

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