Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/Widget.h |
Include |
#include "Components/Widget.h" |
Source |
/Engine/Source/Runtime/UMG/Private/Components/Widget.cpp |
FVector2D GetDesiredSize() const
Gets the widgets desired size. NOTE: The underlying Slate widget must exist and be valid, also at least one pre-pass must have occurred before this value will be of any use.
The widget's desired size