FSlateTextBlockLayout::ComputeDesiredSize

Get the computed desired size for this layout, updating the internal cache as required

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Text/SlateTextBlockLayout.h

Include

#include "Widgets/Text/SlateTextBlockLayout.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Text/SlateTextBlockLayout.cpp

Syntax

FVector2D ComputeDesiredSize
(
    const FWidgetArgs & InWidgetArgs,
    const float InScale,
    const FTextBlockStyle & InTextStyle
)

Remarks

Get the computed desired size for this layout, updating the internal cache as required

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