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_shaping_method (bool): [Read-Write]

  • 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)

property 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)

Type:

(TextFlowDirection)

property 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)

Type:

(TextShapingMethod)