unreal.ShapedTextOptions

class unreal.ShapedTextOptions(text_shaping_method: TextShapingMethod = Ellipsis, text_flow_direction: TextFlowDirection = Ellipsis)

Bases: StructBase

Common data for all widgets that use shaped text. Contains the common options that should be exposed for the underlying Slate widget.

C++ Source:

  • Module: UMG

  • File: TextWidgetTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • override_text_flow_direction (bool): [Read-Write] Override Text Flow Direction

  • override_text_shaping_method (bool): [Read-Write] Override Text Shaping Method

  • text_flow_direction (TextFlowDirection): [Read-Write] Text Flow Direction: Which text flow direction should the text within this widget use? (unset to use the default returned by GetDefaultTextFlowDirection)

  • text_shaping_method (TextShapingMethod): [Read-Write] Text Shaping Method: Which text shaping method should the text within this widget use? (unset to use the default returned by GetDefaultTextShapingMethod)

property text_flow_direction: TextFlowDirection

[Read-Only] Text Flow Direction: Which text flow direction should the text within this widget use? (unset to use the default returned by GetDefaultTextFlowDirection)

Type:

(TextFlowDirection)

property text_shaping_method: TextShapingMethod

[Read-Only] Text Shaping Method: Which text shaping method should the text within this widget use? (unset to use the default returned by GetDefaultTextShapingMethod)

Type:

(TextShapingMethod)