Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UTextLayoutWidget
- URichTextBlock
- UCommonRichTextBlock
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonRichTextBlock.h |
| Include | #include "CommonRichTextBlock.h" |
Syntax
UCLASS&40;&41;
class UCommonRichTextBlock : public URichTextBlock
Remarks
Text block that supports custom scaling for mobile platforms, with option to only show icons if space is sparse.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bTintInlineIcon | Toggle it on if the text color should also tint the inline icons. | |
| ERichTextInlineIconDisplayMode | InlineIconDisplayMode |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CreateDecorators
(
TArray< TSharedRef< ITextDecorator >>& OutDecorators |
||
| FString | EscapeStringForRichText
(
FString InString |
||
| TSubclassOf< UCommonTextStyle > | |||
| float | |||
| ETextTransformPolicy | |||
| void | SetScrollingEnabled
(
bool bInIsScrollingEnabled |
Overridden from URichTextBlock
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Directly sets the widget text. |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| void | Called after constructing a new widget from the palette. | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
Called by the editor to query whether a property of this object is allowed to be modified. | |
| void | Handles reading, writing, and reference collecting using FArchive. |