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