unreal.ScreenOrientation

class unreal.ScreenOrientation

Bases: unreal.EnumBase

The list of possible device/screen orientation for mobile devices

C++ Source:

  • Module: Engine

  • File: BlueprintPlatformLibrary.h

FACE_DOWN

The orientation is as if place on a desk with the screen downward

Type

6

FACE_UP

The orientation is as if place on a desk with the screen upward

Type

5

LANDSCAPE_LEFT

The orientation is landscape with the home button at the right side

Type

3

LANDSCAPE_RIGHT

The orientation is landscape with the home button at the left side

Type

4

PORTRAIT

The orientation is portrait with the home button at the bottom

Type

1

PORTRAIT_UPSIDE_DOWN

The orientation is portrait with the home button at the top

Type

2

UNKNOWN

The orientation is not known

Type

0