SWindow::SetIndependentViewportSize

Sets the viewport size independently of the window size, if non-zero.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Widgets/SWindow.h"

Syntax

void SetIndependentViewportSize
(
    const FVector2D & VP
)

Remarks

Sets the viewport size independently of the window size, if non-zero.

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