SWindow::SetCachedSize

Sets the actual size of the window. THIS SHOULD ONLY BE CALLED BY THE OS

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Widgets/SWindow.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWindow.cpp

Syntax

void SetCachedSize
(
    FVector2D NewSize
)

Remarks

Sets the actual size of the window. THIS SHOULD ONLY BE CALLED BY THE OS