FViewportClient::WindowCloseRequested

Called when the top level window associated with the viewport has been requested to close.

Windows
MacOS
Linux

Override Hierarchy

FViewportClient::WindowCloseRequested()

UGameViewportClient::WindowCloseRequested()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealClient.h

Include

#include "UnrealClient.h"

Syntax

virtual bool WindowCloseRequested()

Remarks

Called when the top level window associated with the viewport has been requested to close. At this point, the viewport has not been closed and the operation may be canceled. This may not called from PIE, Editor Windows, on consoles, or before the game ends from other methods. This is only when the platform specific window is closed.

Returns

True if the viewport may be closed, false otherwise.

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