Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/RichTextBlock.h |
Include |
#include "Components/RichTextBlock.h" |
class URichTextBlock : public UTextLayoutWidget
The rich text block
Fancy Text No Children
Name | Description | ||
---|---|---|---|
|
bOverrideDefaultStyle |
True to specify the default text style for this rich text inline, overriding any default provided in the style set table |
|
|
DecoratorClasses |
||
|
DefaultTextStyle |
||
|
DefaultTextStyleOverride |
Text style to apply by default to text in this block |
|
|
InstanceDecorators |
||
|
float |
MinDesiredWidth |
The minimum desired size for the text |
|
TSharedPtr< SRi... |
MyRichTextBlock |
|
|
TSharedPtr< cla... |
StyleInstance |
|
|
Text |
The text to display |
|
|
TextOverflowPolicy |
Sets what happens to text that is clipped and doesn't fit within the clip rect for this widget |
|
|
TObjectPtr< cla... |
TextStyleSet |
|
|
TextTransformPolicy |
The text transformation policy to apply to this text block |
Name | Description | |
---|---|---|
|
URichTextBlock ( |
Name | Description | ||
---|---|---|---|
|
ApplyUpdatedDefaultTextStyle() |
||
|
BeginDefaultStyleOverride() |
||
|
ClearAllDefaultStyleOverrides() |
Remove all overrides made to the default text style and return to the style specified in the style set data table |
|
|
CreateDecorators ( |
||
|
TSharedPtr< ... |
CreateMarkupParser() |
|
|
TSharedPtr< ... |
CreateMarkupWriter() |
|
|
const FTextB... |
GetCurrentDefaultTextStyle() |
|
|
URichTextBlo... |
GetDecoratorByClass |
|
|
const FTextB... |
GetDefaultTextStyle() |
|
|
GetText() |
Returns widgets text. |
|
|
RebuildStyleInstance() |
||
|
RefreshTextLayout() |
Causes the text to reflow it's layout and re-evaluate any decorators |
|
|
SetAutoWrapText ( |
Set the auto wrap for this rich text block |
|
|
SetDefaultColorAndOpacity ( |
Sets the color and opacity of the default text in this rich text block |
|
|
SetDefaultFont ( |
Dynamically set the default font info for this rich text block |
|
|
SetDefaultShadowColorAndOpacity ( |
Sets the color and opacity of the default text drop shadow |
|
|
SetDefaultShadowOffset ( |
Sets the offset that the default text drop shadow should be drawn at |
|
|
SetDefaultStrikeBrush ( |
Dynamically set the default strike brush for this rich text block |
|
|
SetDefaultTextStyle ( |
Wholesale override of the currently established default text style |
|
|
SetMinDesiredWidth ( |
Set the minimum desired width for this rich text block |
|
|
SetText ( |
Directly sets the widget text. |
|
|
SetTextOverflowPolicy ( |
Set the text overflow policy for this text block. |
|
|
SetTextStyleSet ( |
||
|
SetTextTransformPolicy ( |
Set the text transformation policy for this text block. |
|
|
UpdateStyleData() |
Name | Description | ||
---|---|---|---|
|
SetJustification ( |
Name | Description | ||
---|---|---|---|
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
|
OnCreationFromPalette() |
Called by the palette after constructing a new widget, allows the widget to perform interesting default setup that we don't want to be UObject Defaults. |
|
|
TSharedRef< ... |
RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
|
SynchronizeProperties() |
Applies all properties to the native widget if possible. |
|
|
ValidateCompiledDefaults ( |
Called at the end of Widget Blueprint compilation. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |