SWidget::GetDesiredSize

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

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

Include

#include "Widgets/SWidget.h"

Source

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

Syntax

FVector2D GetDesiredSize() const

Returns

the DesiredSize that was computed the last time CacheDesiredSize() was called.