Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UWorld > GetFirstPlayerController
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include | #include "Engine/World.h" |
template<class T>
T &42; GetFirstPlayerController&40;&41; const
Remarks
May return NULL if the cast fails. Returns the first player controller cast to the template type, or NULL if there is not one.