unreal.ScreenOrientation¶
- class unreal.ScreenOrientation¶
Bases:
EnumBaseThe list of possible device/screen orientation for mobile devices
C++ Source:
Module: Engine
File: BlueprintPlatformLibrary.h
- FACE_DOWN: ScreenOrientation = Ellipsis¶
The orientation is as if place on a desk with the screen downward
- Type:
6
- FACE_UP: ScreenOrientation = Ellipsis¶
The orientation is as if place on a desk with the screen upward
- Type:
5
- FULL_SENSOR: ScreenOrientation = Ellipsis¶
The orientation is no longer locked and adjusts according to the sensor
- Type:
9
- LANDSCAPE_LEFT: ScreenOrientation = Ellipsis¶
The orientation is landscape with the home button at the right side
- Type:
3
- LANDSCAPE_RIGHT: ScreenOrientation = Ellipsis¶
The orientation is landscape with the home button at the left side
- Type:
4
- LANDSCAPE_SENSOR: ScreenOrientation = Ellipsis¶
The orientation is landscape, oriented upright with the sensor
- Type:
8
- PORTRAIT: ScreenOrientation = Ellipsis¶
The orientation is portrait with the home button at the bottom
- Type:
1
- PORTRAIT_SENSOR: ScreenOrientation = Ellipsis¶
The orientation is portrait, oriented upright with the sensor
- Type:
7
- PORTRAIT_UPSIDE_DOWN: ScreenOrientation = Ellipsis¶
The orientation is portrait with the home button at the top
- Type:
2
- UNKNOWN: ScreenOrientation = Ellipsis¶
The orientation is not known
- Type:
0