FRichTextDecorator::CreateDecoratorText

Override this function if you want to dynamically generate text, optionally changing the style.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/RichTextBlockDecorator.h

Include

#include "Components/RichTextBlockDecorator.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/RichTextBlockDecorator.cpp

Syntax

virtual void CreateDecoratorText
(
    const FTextRunInfo & RunInfo,
    FTextBlockStyle & InOutTextStyle,
    FString & InOutString
) const

Remarks

Override this function if you want to dynamically generate text, optionally changing the style. InOutString will start as the content between tags

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