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