unreal.TextFlowDirection

class unreal.TextFlowDirection

Bases: EnumBase

The different directions that text can flow within a paragraph of text. note: If you change this enum, make sure and update CVarDefaultTextFlowDirection and GetDefaultTextFlowDirection.

C++ Source:

  • Module: Slate

  • File: TextLayout.h

AUTO: TextFlowDirection

Automatically detect the flow direction for each paragraph from its text

Type:

0

CULTURE: TextFlowDirection

Uses the set culture to determine if text should flow left-to-right or right-to-left. By comparison, Auto will use the text itself to determine it.

Type:

3

LEFT_TO_RIGHT: TextFlowDirection

Force text to be flowed left-to-right

Type:

1

RIGHT_TO_LEFT: TextFlowDirection

Force text to be flowed right-to-left

Type:

2