Navigation
API > API/Runtime > API/Runtime/UMG
| Name | FRichTextDecorator |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/RichTextBlockDecorator.h |
| Include Path | #include "Components/RichTextBlockDecorator.h" |
Syntax
class FRichTextDecorator : public ITextDecorator
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRichTextDecorator
(
URichTextBlock* InOwner |
Components/RichTextBlockDecorator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRichTextDecorator() |
Components/RichTextBlockDecorator.h |
Functions
Public
Overridden from ITextDecorator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< ISlateRun > Create
(
const TSharedRef< class FTextLayout >& TextLayout, |
Components/RichTextBlockDecorator.h | ||
virtual bool Supports
(
const FTextRunParseResults& RunParseResult, |
Override this function to specify which types of tags are handled by this decorator | Components/RichTextBlockDecorator.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateDecoratorText
(
const FTextRunInfo& RunInfo, |
Override this function if you want to dynamically generate text, optionally changing the style. | Components/RichTextBlockDecorator.h | |
virtual TSharedPtr< SWidget > CreateDecoratorWidget
(
const FTextRunInfo& RunInfo, |
Override this function if you want to create a unique widget like an image | Components/RichTextBlockDecorator.h |