FOnWindowCloseRequested

Delegate type used by [UGameViewportClient](API\Runtime\Engine\Engine\UGameViewportClient) when the top level window associated with the viewport has been requested to close.

Windows
MacOS
Linux

Type

typedef TBaseDelegate_NoParams< bool > FOnWindowCloseRequested

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportDelegates.h

Include

#include "Engine/GameViewportDelegates.h"

Remarks

Delegate type used by UGameViewportClient 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.

Return indicates whether or not the window may be closed.

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