UEngine::GetLocalPlayerIterator

Return a reference to the GamePlayers array.

Choose your operating system:

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

TArray< class ULocalPlayer * >::TConstIterator GetLocalPlayerIterator
(
    const UGameViewportClient * Viewport
)

Remarks

Return a reference to the GamePlayers array.