AController::CastToPlayerController

DEPRECATED! Use the standard "Cast To" node instead.

Windows
MacOS
Linux

Deprecated

  • CastToPlayerController has been replaced by the standard Cast To node.

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

APlayerController * CastToPlayerController()

Remarks

DEPRECATED! Use the standard "Cast To" node instead. Casts this Controller to a Player Controller, if possible.

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