unreal.ShapedTextOptions

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

Bases: unreal.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] 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] Which text shaping method should the text within this widget use? (unset to use the default returned by GetDefaultTextShapingMethod)
text_flow_direction

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

text_shaping_method

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