UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
EScreenOrientation Namespace Reference

Enumerations

enum  Type : int {
  Unknown , Portrait , PortraitUpsideDown , LandscapeLeft ,
  LandscapeRight , FaceUp , FaceDown , PortraitSensor ,
  LandscapeSensor , FullSensor
}
 

Detailed Description

The list of possible device/screen orientation for mobile devices

Enumeration Type Documentation

◆ Type

Enumerator
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