/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h
Returns the viewport size, taking into consideration if the window size should drive the viewport size
[UE::Slate::FDeprecateVector2DResult](API\Runtime\SlateCore\Types\FDeprecateVector2DResult) GetViewportSize() const