Navigation
API > API/Runtime > API/Runtime/Engine
The list of possible device/screen orientation for mobile devices
| Name | EScreenOrientation::Type |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintPlatformLibrary.h |
| Include Path | #include "Kismet/BlueprintPlatformLibrary.h" |
Syntax
namespace EScreenOrientation
{
enum Type
{
Unknown,
Portrait,
PortraitUpsideDown,
LandscapeLeft,
LandscapeRight,
FaceUp,
FaceDown,
PortraitSensor,
LandscapeSensor,
FullSensor,
}
}
Values
| Name | Remarks |
|---|---|
| Unknown | The orientation is not known |
| Portrait | The orientation is portrait with the home button at the bottom |
| PortraitUpsideDown | The orientation is portrait with the home button at the top |
| LandscapeLeft | The orientation is landscape with the home button at the right side |
| LandscapeRight | The orientation is landscape with the home button at the left side |
| FaceUp | The orientation is as if place on a desk with the screen upward |
| FaceDown | The orientation is as if place on a desk with the screen downward |
| PortraitSensor | The orientation is portrait, oriented upright with the sensor |
| LandscapeSensor | The orientation is landscape, oriented upright with the sensor |
| FullSensor | The orientation is no longer locked and adjusts according to the sensor |