APlayerController::GetNextViewablePlayer

Get next active viewable player in PlayerArray.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerController.cpp

Syntax

virtual APlayerState * GetNextViewablePlayer
(
    int32 dir
)

Remarks

Get next active viewable player in PlayerArray.

Parameters

Parameter

Description

dir

is the direction to go in the array

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