EDeviceScreenOrientation

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

Windows
MacOS
Linux

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.

References

Module

Core

Header

Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback