Navigation
API > API/Plugins > API/Plugins/DynamicMaterial > API/Plugins/DynamicMaterial/Components > API/Plugins/DynamicMaterial/Components/RenderTargetRenderers
Inheritance Hierarchy
- UObject
- FNotifyHook
- UDMMaterialComponent
- UDMRenderTargetRenderer
- UDMRenderTargetWidgetRendererBase
- UDMRenderTargetTextRenderer
References
| Module | DynamicMaterial |
| Header | /Engine/Plugins/Experimental/DynamicMaterial/Source/DynamicMaterial/Public/Components/RenderTargetRenderers/DMRenderTargetTextRenderer.h |
| Include | #include "Components/RenderTargetRenderers/DMRenderTargetTextRenderer.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup="Material Designer",
Meta=(DisplayName="Material Designer Render Target Text Renderer"))
class UDMRenderTargetTextRenderer : public UDMRenderTargetWidgetRendererBase
Remarks
Renderer that renders an STextBlock widget and exposes all its parameters/properties.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bRecalculateTextSize | ||
| TArray< FDMTextLine > | Lines | Text broken down into individual lines and their corresponding widgets. | |
| meta | Multiplier on the base font height. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< STextBlock > | CreateTextWidget
(
const FText& InText |
Creates the widget for an individual line. | |
| void | |||
| bool | |||
| const FLinearColor & | |||
| ETextFlowDirection | |||
| const FSlateFontInfo & | GetFontInfo () |
||
| bool | |||
| bool | GetHasShadow () |
||
| const FLinearColor & | |||
| ETextJustify::Type | GetJustify () |
||
| float | |||
| float | |||
| float | |||
| float | |||
| float | |||
| const FLinearColor & | |||
| const FVector2D & | |||
| ETextShapingMethod | |||
| const TInstancedStruct< FSlateBrush > & | |||
| const FText & | GetText () |
||
| const FLinearColor & | GetTextColor () |
||
| ETextTransformPolicy | |||
| ETextWrappingPolicy | |||
| float | |||
| bool | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
||
| void | SetAutoWrapText
(
bool bInAutoWrap |
||
| void | SetBackgroundColor
(
const FLinearColor& InBackgroundColor |
||
| void | Updates the texture size, if needed, for the given text. | ||
| void | SetFlowDirection
(
ETextFlowDirection InFlowDirection |
||
| void | SetFontInfo
(
const FSlateFontInfo& InFontInfo |
||
| void | SetHasHighlight
(
bool bInHasHighlight |
||
| void | SetHasShadow
(
bool bInHasShadow |
||
| void | SetHighlightColor
(
const FLinearColor& InHighlightColor |
||
| void | SetJustify
(
ETextJustify::Type InJustify |
||
| void | SetLineHeight
(
float InLineHeight |
||
| void | SetOverrideRenderTargetSize
(
bool bInOverride |
||
| void | SetPaddingBottom
(
float InPadding |
||
| void | SetPaddingLeft
(
float InPadding |
||
| void | SetPaddingRight
(
float InPadding |
||
| void | SetPaddingTop
(
float InPadding |
||
| void | SetShadowColor
(
const FLinearColor& InShadowColor |
||
| void | SetShadowOffset
(
const FVector2D& InShadowOffset |
||
| void | SetShapingMethod
(
ETextShapingMethod InShapingMethod |
||
| void | SetStrikeBrush
(
const TInstancedStruct< FSlateBrush >& InStrikeBrush |
||
| void | SetText
(
const FText& InText |
||
| void | SetTextColor
(
const FLinearColor& InColor |
||
| void | SetTransformPolicy
(
ETextTransformPolicy InTransformPolicy |
||
| void | SetWrappingPolicy
(
ETextWrappingPolicy InWrappingPolicy |
||
| void | SetWrapTextAt
(
float InWrapAt |
||
| void | Takes the Text and creates a new TextLines array. |
Overridden from UDMRenderTargetWidgetRendererBase
| Type | Name | Description | |
|---|---|---|---|
| void |
Overridden from UDMMaterialComponent
| Type | Name | Description | |
|---|---|---|---|
| FText | Returns a description of this class/object. |
Overridden from IDMJsonSerializable
| Type | Name | Description | |
|---|---|---|---|
| bool | JsonDeserialize
(
const TSharedPtr< FJsonValue >& InJsonValue |
||
| TSharedPtr< FJsonValue > |