Choose your operating system:
Windows
macOS
Linux
| ISlateViewport::OnRequestWindowClose()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h |
Include |
#include "Slate/SceneViewport.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp |
virtual FReply OnRequestWindowClose()
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.
FReply::Handled if the close event was consumed (and the window should remain open).