UGameViewportClient::ShouldForceFullscreenViewport

Determine whether a fullscreen viewport should be used in cases where there are multiple players.

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

bool ShouldForceFullscreenViewport() const

Remarks

Determine whether a fullscreen viewport should be used in cases where there are multiple players.

Returns

true to use a fullscreen viewport; false to allow each player to have their own area of the viewport.