class

APlayerController

Module
Game
Header
#include "Game/APlayerController.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Constructors

SignatureNameDescription
APlayerController()APlayerController
~APlayerController() override~APlayerController

Public functions

ReturnsNameDescription
voidPossess
voidUnPossess
voidTickEvaluates input bindings before components tick.
MPlayerInput*GetPlayerInput
MEnhancedInputSubsystem*GetEnhancedInputPer-player Enhanced Input subsystem — gameplay adds/removes InputMappingContext assets through this.
voidSetInputSystemThe input instance this controller evaluates against: the global one by default, a split-screen player's own one after FLocalPlayerManager::BindController.
InputActionSystem&GetInputSystem
voidPushInputContextInput contexts Push/pop named InputActionSystem contexts (priority = stack order; a context with ConsumesInput blocks lower ones).
voidPopInputContext
boolSetViewTargetWithBlendUE's controller-side spelling of the same CameraSystem handover MCameraStatics exposes; there is one view per process, so it does not matter which controller asks.
voidEndPlay

Function details

APlayerController

C++
APlayerController()

~APlayerController

C++
~APlayerController() override

Possess

C++
void Possess(APawn* pawn) override

UnPossess

C++
void UnPossess() override

Tick

C++
void Tick(float deltaSeconds) override

Evaluates input bindings before components tick.

GetPlayerInput

C++
MPlayerInput* GetPlayerInput() const

GetEnhancedInput

C++
MEnhancedInputSubsystem* GetEnhancedInput() const

Per-player Enhanced Input subsystem — gameplay adds/removes InputMappingContext assets through this. UE5's EnhancedInputLocalPlayerSubsystem analog.

SetInputSystem

C++
void SetInputSystem(InputActionSystem* actions)

The input instance this controller evaluates against: the global one by default, a split-screen player's own one after FLocalPlayerManager::BindController. Moves the pushed contexts and the enhanced-input contexts over.

GetInputSystem

C++
InputActionSystem& GetInputSystem() const

PushInputContext

C++
void PushInputContext(const std::string& name)

Input contexts Push/pop named InputActionSystem contexts (priority = stack order; a context with ConsumesInput blocks lower ones). The controller tracks what it pushed and pops everything on EndPlay — gameplay can't leak a "Menu" context past its controller.

PopInputContext

C++
void PopInputContext(const std::string& name)

SetViewTargetWithBlend

C++
bool SetViewTargetWithBlend(AActor* target, float blendTimeSeconds)

UE's controller-side spelling of the same CameraSystem handover MCameraStatics exposes; there is one view per process, so it does not matter which controller asks.

EndPlay

C++
void EndPlay() override
Generated from Game/APlayerController.h via game.json · Nov 5, 2026Version 1.0.0