unreal.DMRenderTargetTextRenderer¶
- class unreal.DMRenderTargetTextRenderer(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
DMRenderTargetWidgetRendererBaseRenderer that renders an STextBlock widget and exposes all its parameters/properties.
C++ Source:
Plugin: DynamicMaterial
Module: DynamicMaterial
File: DMRenderTargetTextRenderer.h
Editor Properties: (see get_editor_property/set_editor_property)
auto_wrap_text(bool): [Read-Write]component_dirty(bool): [Read-Only]component_state(DMComponentLifetimeState): [Read-Only]editable_properties(Array[Name]): [Read-Only]flow_direction(TextFlowDirection): [Read-Write]font_info(SlateFontInfo): [Read-Write]has_highlight(bool): [Read-Write]has_shadow(bool): [Read-Write]highlight_color(LinearColor): [Read-Write]justify(TextJustify): [Read-Write]line_height(float): [Read-Write] Multiplier on the base font height.override_render_target_size(bool): [Read-Write] When true, will change the size of the render target to fit the text.padding_bottom(float): [Read-Write] Extra space adding beyond the edge of the glyphs. Useful for shadows, glows, etc.padding_left(float): [Read-Write] Extra space adding beyond the edge of the glyphs. Useful for shadows, glows, etc.padding_right(float): [Read-Write] Extra space adding beyond the edge of the glyphs. Useful for shadows, glows, etc.padding_top(float): [Read-Write] Extra space adding beyond the edge of the glyphs. Useful for shadows, glows, etc.shadow_color(LinearColor): [Read-Write]shadow_offset(Vector2D): [Read-Write]shaping_method(TextShapingMethod): [Read-Write]strike_brush(InstancedStruct): [Read-Write]text(Text): [Read-Write]text_color(LinearColor): [Read-Write]transform_policy(TextTransformPolicy): [Read-Write]wrap_text_at(float): [Read-Write]wrapping_policy(TextWrappingPolicy): [Read-Write]
- copy_parameters_from(other) None¶
Copies the parameter-based value of the given value to this value, if possible.
- Parameters:
other (Object)
- property flow_direction: TextFlowDirection¶
[Read-Write]
- Type:
- property font_info: SlateFontInfo¶
[Read-Write]
- Type:
- get_background_color() LinearColor¶
Get Background Color
- Return type:
- get_flow_direction() TextFlowDirection¶
Get Flow Direction
- Return type:
- get_font_info() SlateFontInfo¶
Get Font Info
- Return type:
- get_highlight_color() LinearColor¶
Get Highlight Color
- Return type:
- get_justify() TextJustify¶
Get Justify
- Return type:
- get_shadow_color() LinearColor¶
Get Shadow Color
- Return type:
- get_shaping_method() TextShapingMethod¶
Get Shaping Method
- Return type:
- get_strike_brush() InstancedStruct¶
Get Strike Brush
- Return type:
- get_text_color() LinearColor¶
Get Text Color
- Return type:
- get_transform_policy() TextTransformPolicy¶
Get Transform Policy
- Return type:
- get_wrapping_policy() TextWrappingPolicy¶
Get Wrapping Policy
- Return type:
- property highlight_color: LinearColor¶
[Read-Write]
- Type:
- property justify: TextJustify¶
[Read-Write]
- Type:
- property override_render_target_size: bool¶
[Read-Write] When true, will change the size of the render target to fit the text.
- Type:
(bool)
- property padding_bottom: float¶
[Read-Write] Extra space adding beyond the edge of the glyphs. Useful for shadows, glows, etc.
- Type:
(float)
- property padding_left: float¶
[Read-Write] Extra space adding beyond the edge of the glyphs. Useful for shadows, glows, etc.
- Type:
(float)
- property padding_right: float¶
[Read-Write] Extra space adding beyond the edge of the glyphs. Useful for shadows, glows, etc.
- Type:
(float)
- property padding_top: float¶
[Read-Write] Extra space adding beyond the edge of the glyphs. Useful for shadows, glows, etc.
- Type:
(float)
- set_background_color(background_color) None¶
Set Background Color
- Parameters:
background_color (LinearColor)
- set_flow_direction(flow_direction) None¶
Set Flow Direction
- Parameters:
flow_direction (TextFlowDirection)
- set_font_info(font_info) None¶
Set Font Info
- Parameters:
font_info (SlateFontInfo)
- set_highlight_color(highlight_color) None¶
Set Highlight Color
- Parameters:
highlight_color (LinearColor)
- set_justify(justify) None¶
Set Justify
- Parameters:
justify (TextJustify)
- set_override_render_target_size(override) None¶
Set Override Render Target Size
- Parameters:
override (bool)
- set_shadow_color(shadow_color) None¶
Set Shadow Color
- Parameters:
shadow_color (LinearColor)
- set_shaping_method(shaping_method) None¶
Set Shaping Method
- Parameters:
shaping_method (TextShapingMethod)
- set_strike_brush(strike_brush) None¶
Set Strike Brush
- Parameters:
strike_brush (InstancedStruct)
- set_text_color(color) None¶
Set Text Color
- Parameters:
color (LinearColor)
- set_transform_policy(transform_policy) None¶
Set Transform Policy
- Parameters:
transform_policy (TextTransformPolicy)
- set_wrapping_policy(wrapping_policy) None¶
Set Wrapping Policy
- Parameters:
wrapping_policy (TextWrappingPolicy)
- property shadow_color: LinearColor¶
[Read-Write]
- Type:
- property shaping_method: TextShapingMethod¶
[Read-Write]
- Type:
- property strike_brush: InstancedStruct¶
[Read-Write]
- Type:
- property text_color: LinearColor¶
[Read-Write]
- Type:
- property transform_policy: TextTransformPolicy¶
[Read-Write]
- Type:
- property wrapping_policy: TextWrappingPolicy¶
[Read-Write]
- Type: