unreal.Text3DDefaultLayoutExtension¶
- class unreal.Text3DDefaultLayoutExtension(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Text3DLayoutExtensionBaseText 3DDefault Layout Extension
C++ Source:
Plugin: Text3D
Module: Text3D
File: Text3DDefaultLayoutExtension.h
Editor Properties: (see get_editor_property/set_editor_property)
horizontal_alignment(Text3DHorizontalTextAlignment): [Read-Write] Horizontal text alignmentline_spacing(float): [Read-Write] Extra line spacingmax_height(float): [Read-Write] Sets a maximum height to the 3D Textmax_width(float): [Read-Write] Sets a maximum width to the 3D Textmax_width_behavior(Text3DMaxWidthHandling): [Read-Write] Dictates how to handle the text if it exceeds the max widthscale_proportionally(bool): [Read-Write] Should the mesh scale proportionally when Max Width/Height is settracking(float): [Read-Write] Text tracking affects all charactersuse_max_height(bool): [Read-Write] Enables a maximum height to the 3D Textuse_max_width(bool): [Read-Write] Enables a maximum width to the 3D Textvertical_alignment(Text3DVerticalTextAlignment): [Read-Write] Vertical text alignmentword_spacing(float): [Read-Write] Extra word spacing
- get_horizontal_alignment() Text3DHorizontalTextAlignment¶
Get the horizontal alignment value and signal the primitives to be rebuilt
- Return type:
- get_line_spacing() float¶
Get the line spacing value and signal the primitives to be rebuilt
- Return type:
- get_max_height() float¶
Get the Maximum Height - If height is larger, mesh will scale down to fit MaxHeight value
- Return type:
- get_max_width() float¶
Get the Maximum Width - If width is larger, mesh will scale down to fit MaxWidth value
- Return type:
- get_max_width_behavior() Text3DMaxWidthHandling¶
Get the Maximum Width Handling - Whether to wrap before scaling when the text size reaches the max width
- Return type:
- get_scales_proportionally() bool¶
Get if the mesh should scale proportionally when Max Width/Height is set
- Return type:
- get_vertical_alignment() Text3DVerticalTextAlignment¶
Get the vertical alignment and signal the primitives to be rebuilt
- Return type:
- get_word_spacing() float¶
Get the word spacing value and signal the primitives to be rebuilt
- Return type:
- set_horizontal_alignment(value) None¶
Set the horizontal alignment value and signal the primitives to be rebuilt
- Parameters:
value (Text3DHorizontalTextAlignment)
- set_line_spacing(value) None¶
Set the line spacing value and signal the primitives to be rebuilt
- Parameters:
value (float)
- set_max_height(value) None¶
Set the Maximum Height - If height is larger, mesh will scale down to fit MaxHeight value
- Parameters:
value (float)
- set_max_width(value) None¶
Set the Maximum Width - If width is larger, mesh will scale down to fit MaxWidth value
- Parameters:
value (float)
- set_max_width_behavior(value) None¶
Set the Maximum Width Handling - Whether to wrap before scaling when the text size reaches the max width
- Parameters:
value (Text3DMaxWidthHandling)
- set_scale_proportionally(value) None¶
Set if the mesh should scale proportionally when Max Width/Height is set
- Parameters:
value (bool)
- set_tracking(value) None¶
Set the tracking value and signal the primitives to be rebuilt
- Parameters:
value (float)
- set_vertical_alignment(value) None¶
Set the vertical alignment and signal the primitives to be rebuilt
- Parameters:
value (Text3DVerticalTextAlignment)