UGameViewportClient::SetDisableSplitscreenOverride

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

Choose your operating system:

Windows

macOS

Linux

Deprecated

  • SetDisableSplitscreenOverride is deprecated. Please call UGameViewportClient::SetForceDisableSplitscreen(bDisabled) instead.

References

Module

Engine

Header

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

Include

#include "Engine/GameViewportClient.h"

Syntax

void SetDisableSplitscreenOverride
(
    const bool bDisabled
)

Remarks

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