UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FlowDirection.h File Reference
#include "CoreMinimal.h"
#include "HAL/Platform.h"
#include "UObject/Class.h"
#include "UObject/ObjectMacros.h"
#include "FlowDirection.generated.h"

Go to the source code of this file.

Classes

class  FLayoutLocalization
 

Enumerations

enum class  EFlowDirection : uint8 { LeftToRight , RightToLeft }
 
enum class  EFlowDirectionPreference : uint8 { Inherit , Culture , LeftToRight , RightToLeft }
 

Variables

SLATECORE_API EFlowDirection GSlateFlowDirection
 
SLATECORE_API int32 GSlateFlowDirectionShouldFollowCultureByDefault
 

Enumeration Type Documentation

◆ EFlowDirection

enum class EFlowDirection : uint8
strong

Widgets may need to flow left or right depending upon the current culture/localization that's active. This enum is used to request a specific layout flow.

Enumerator
LeftToRight 

Desires content flows using a LTR layout

RightToLeft 

Desires content flows using a RTL layout

◆ EFlowDirectionPreference

Enumerator
Inherit 

Inherits the flow direction set by the parent widget.

Culture 

Begins laying out widgets using the current cultures layout direction preference, flipping the directionality of flows.

LeftToRight 

Forces a Left to Right layout flow.

RightToLeft 

Forces a Right to Left layout flow.

Variable Documentation

◆ GSlateFlowDirection

SLATECORE_API EFlowDirection GSlateFlowDirection
extern

◆ GSlateFlowDirectionShouldFollowCultureByDefault

SLATECORE_API int32 GSlateFlowDirectionShouldFollowCultureByDefault
extern