AController::GetPlayerState

Choose your operating system:

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.