ADefaultPawn::SetupPlayerInputComponent

Allows a Pawn to set up custom input bindings.

Windows
MacOS
Linux

Override Hierarchy

APawn::SetupPlayerInputComponent()

ADefaultPawn::SetupPlayerInputComponent()

References

Module

Engine

Header

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

Include

#include "GameFramework/DefaultPawn.h"

Source

/Engine/Source/Runtime/Engine/Private/DefaultPawn.cpp

Syntax

virtual void SetupPlayerInputComponent
(
    UInputComponent * PlayerInputComponent
)

Remarks

Allows a Pawn to set up custom input bindings. Called upon possession by a PlayerController, using the InputComponent created by CreatePlayerInputComponent().

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