APlayerController::OnPossess

Overridable native function for when this controller is asked to possess a pawn.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

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

Include

#include "GameFramework/PlayerController.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerController.cpp

Syntax

virtual void OnPossess
(
    APawn * InPawn
)

Remarks

Overridable native function for when this controller is asked to possess a pawn.

Parameters

Parameter

Description

InPawn

The Pawn to be possessed