Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h |
Include |
#include "Widgets/SWindow.h" |
FVector2D GetViewportSize() const
Returns the viewport size, taking into consideration if the window size should drive the viewport size