APlayerController::SetPlayer

Associate a new [UPlayer](API\Runtime\Engine\Engine\UPlayer) with this PlayerController.

Windows
MacOS
Linux

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 SetPlayer
(
    UPlayer * InPlayer
)

Remarks

Associate a new UPlayer with this PlayerController.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss