UGameViewportClient::SetForceDisableSplitscreen

Allows game code to disable splitscreen (useful when in menus)

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "Engine/GameViewportClient.h"

Source

/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp

Syntax

void SetForceDisableSplitscreen
(
    const bool bDisabled
)

Remarks

Allows game code to disable splitscreen (useful when in menus)