SWindow::GetViewportSize

Returns the viewport size, taking into consideration if the window size should drive the viewport size

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Syntax

FVector2D GetViewportSize() const

Remarks

Returns the viewport size, taking into consideration if the window size should drive the viewport size

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