Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Text
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Text/TextLayout.h |
| Include | #include "Framework/Text/TextLayout.h" |
Syntax
enum ETextFlowDirection
{
Auto = 0,
LeftToRight,
RightToLeft,
Culture,
}
Values
| Name | Description |
|---|---|
| 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. |
Remarks
The different directions that text can flow within a paragraph of text.
If you change this enum, make sure and update CVarDefaultTextFlowDirection and GetDefaultTextFlowDirection.