Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ADefaultPawn
Description
Allows a Pawn to set up custom input bindings. Called upon possession by a PlayerController, using the InputComponent created by CreatePlayerInputComponent().
Virtual Inheritance
- APawn::SetupPlayerInputComponent → ADefaultPawn::SetupPlayerInputComponent
| Name | SetupPlayerInputComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/DefaultPawn.h |
| Include Path | #include "GameFramework/DefaultPawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/DefaultPawn.cpp |
virtual void SetupPlayerInputComponent
(
UInputComponent * PlayerInputComponent
)