Navigation
API > API/Runtime > API/Runtime/Slate
The different directions that text can flow within a paragraph of text.
If you change this enum, make sure and update CVarDefaultTextFlowDirection and GetDefaultTextFlowDirection.
| Name | ETextFlowDirection |
| Type | enum |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Text/TextLayout.h |
| Include Path | #include "Framework/Text/TextLayout.h" |
Syntax
enum ETextFlowDirection
{
Auto = 0,
LeftToRight,
RightToLeft,
Culture,
}
Values
| Name | Remarks |
|---|---|
| Auto | Automatically detect the flow direction for each paragraph from its text |
| LeftToRight | Force text to be flowed left-to-right |
| RightToLeft | Force text to be flowed right-to-left |
| Culture | Uses the set culture to determine if text should flow left-to-right or right-to-left. |