AController::SetPawn

Setter for Pawn. Normally should only be used internally when possessing/unpossessing 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 SetPawn
(
    APawn * InPawn
)

Remarks

Setter for Pawn. Normally should only be used internally when possessing/unpossessing a Pawn.