Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWindow
Description
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
| Name | SetViewportSizeDrivenByWindow |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h |
| Include Path | #include "Widgets/SWindow.h" |
void SetViewportSizeDrivenByWindow
(
bool bDrivenByWindow
)