Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h |
Include |
#include "Engine/Engine.h" |
Source |
/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp |
ULocalPlayer * GetLocalPlayerFromControllerId
(
const UGameViewportClient * InViewport,
const int32 ControllerId
) const
Retrieves the LocalPlayer for the player which has the ControllerId specified
The player that has the ControllerId specified, or nullptr if no players have that ControllerId
Parameter |
Description |
---|---|
ControllerId |
the game pad index of the player to search for |