SWindow::SetViewportSizeDrivenByWindow

Sets whether or not the viewport size should be driven by the window's size.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Widgets/SWindow.h"

Syntax

void SetViewportSizeDrivenByWindow
(
    bool bDrivenByWindow
)

Remarks

Sets whether or not the viewport size should be driven by the window's size. If true, the two will be the same. If false, an independent viewport size can be specified with SetIndependentViewportSize

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