AController::GetPlayerState

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/Controller.h"

Syntax

template<class T>
T * GetPlayerState() const

Returns

this controller's PlayerState cast to the template type, or NULL if there is not one. May return null if the cast fails.

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