SWindow::ComputeDesiredSize

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

Windows
MacOS
Linux

Override Hierarchy

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

virtual FVector2D ComputeDesiredSize
(
    float
) const

Remarks

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

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