APlayerController::GetSplitscreenPlayerCount

Returns the number of split-screen players playing on this player's machine.

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

int32 GetSplitscreenPlayerCount() const

Remarks

Returns the number of split-screen players playing on this player's machine.

Returns

the total number of players on the player's local machine, or 0 if this player isn't playing split-screen.

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