FRichTextDecorator::CreateDecoratorWidget

Override this function if you want to create a unique widget like an image

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 TSharedPtr< SWidget > CreateDecoratorWidget
(
    const FTextRunInfo & RunInfo,
    const FTextBlockStyle & DefaultTextStyle
) const

Remarks

Override this function if you want to create a unique widget like an image

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