![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RichTextBlockDecorator.h>
Inheritance diagram for FRichTextDecorator:Public Member Functions | |
| UMG_API | FRichTextDecorator (URichTextBlock *InOwner) |
| virtual | ~FRichTextDecorator () |
| virtual bool | Supports (const FTextRunParseResults &RunParseResult, const FString &Text) const override |
| virtual UMG_API TSharedRef< ISlateRun > | Create (const TSharedRef< class FTextLayout > &TextLayout, const FTextRunParseResults &RunParseResult, const FString &OriginalText, const TSharedRef< FString > &InOutModelText, const ISlateStyle *Style) override final |
Protected Member Functions | |
| virtual UMG_API TSharedPtr< SWidget > | CreateDecoratorWidget (const FTextRunInfo &RunInfo, const FTextBlockStyle &DefaultTextStyle) const |
| virtual UMG_API void | CreateDecoratorText (const FTextRunInfo &RunInfo, FTextBlockStyle &InOutTextStyle, FString &InOutString) const |
Protected Attributes | |
| URichTextBlock * | Owner |
| FRichTextDecorator::FRichTextDecorator | ( | URichTextBlock * | InOwner | ) |
|
inlinevirtual |
|
finaloverridevirtual |
|
protectedvirtual |
Override this function if you want to dynamically generate text, optionally changing the style. InOutString will start as the content between tags
|
protectedvirtual |
Override this function if you want to create a unique widget like an image
Reimplemented in FRichInlineImage.
|
inlineoverridevirtual |
Override this function to specify which types of tags are handled by this decorator
Reimplemented in FRichInlineImage.
|
protected |