Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorld
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * GetFirstPlayerController () |
May return NULL if the cast fails. | Engine/World.h | |
| Engine/World.h |
GetFirstPlayerController()
Description
May return NULL if the cast fails.
| Name | GetFirstPlayerController |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
template<class T>
T * GetFirstPlayerController() const
Returns the first player controller cast to the template type, or NULL if there is not one.
GetFirstPlayerController()
| Name | GetFirstPlayerController |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/World.cpp |
APlayerController * GetFirstPlayerController() const
Returns the first player controller, or NULL if there is not one.