Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UWorld > GetFirstLocalPlayerFromController
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include | #include "Engine/World.h" |
Source | /Engine/Source/Runtime/Engine/Private/World.cpp |
ULocalPlayer &42; GetFirstLocalPlayerFromController&40;&41; const
Remarks
Get the first valid local player via the first player controller. Pointer to the first valid ULocalPlayer, or NULL if there is not one.