UEngine::FindFirstLocalPlayerFromControllerId

Returns the first [ULocalPlayer](API\Runtime\Engine\Engine\ULocalPlayer) that matches the given ControllerId.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h

Include

#include "Engine/Engine.h"

Source

/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp

Syntax

ULocalPlayer * FindFirstLocalPlayerFromControllerId
(
    int32 ControllerId
) const

Remarks

Returns the first ULocalPlayer that matches the given ControllerId. This will search across all world contexts.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss