SVirtualWindow::ComputeDesiredSize

The window's desired size takes into account the ratio between the slate units and the pixel size

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/SVirtualWindow.h

Include

#include "Widgets/SVirtualWindow.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/SVirtualWindow.cpp

Syntax

virtual FVector2D ComputeDesiredSize
(
    float
) const

Remarks

The window's desired size takes into account the ratio between the slate units and the pixel size