AController::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/Controller.h

Include

#include "GameFramework/Controller.h"

Source

/Engine/Source/Runtime/Engine/Private/Controller.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