ScreenOrientation

enumeration

Description

Describes screen orientation.

Currently this is only relevant on mobile devices.

Additional resources: Screen.orientation.

Properties

PortraitPortrait orientation.
PortraitUpsideDownPortrait orientation, upside down.
LandscapeLeftLandscape orientation, counter-clockwise from the portrait orientation.
LandscapeRightLandscape orientation, clockwise from the portrait orientation.
AutoRotationAutorotates the screen as necessary toward any of the enabled orientations.

Did you find this page useful? Please give it a rating: