APlayerController::IsSplitscreenPlayer

Determines whether this player is playing split-screen.

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

bool IsSplitscreenPlayer
(
    int32 * OutSplitscreenPlayerIndex
) const

Remarks

Determines whether this player is playing split-screen.

Returns

true if this player is playing splitscreen.

Parameters

Parameter

Description

OutSplitscreenPlayerIndex

receives the index [into the player's local GamePlayers array] for this player, if playing splitscreen.

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