UGameViewportClient::TryToggleFullscreenOnInputKey

Gives the game's custom viewport client a way to handle F11 or Alt+Enter before processing the input

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 TryToggleFullscreenOnInputKey
(
    FKey Key,
    EInputEvent EventType
)

Remarks

Gives the game's custom viewport client a way to handle F11 or Alt+Enter before processing the input