EDeviceScreenOrientation

Device orientations for screens. e.g. Landscape, Portrait, etc.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h

Include

#include "GenericPlatform/GenericPlatformMisc.h"

Syntax

enum EDeviceScreenOrientation
{
    Unknown,
    Portrait,
    PortraitUpsideDown,
    LandscapeLeft,
    LandscapeRight,
    FaceUp,
    FaceDown,
}

Values

Name

Description

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

Remarks

Device orientations for screens. e.g. Landscape, Portrait, etc.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss