Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ScreenOrientation

Mirrors the ScreenOrientation enum.
Read time 1 minuteLast updated 11 days ago

Definition

public enum ScreenOrientation

Remarks

For more information about the attribute, see Android's documentation: ScreenOrientation attribute

Fields

Value

Description

BehindMirrors
android:screenOrientation="behind"
.
FullSensorMirrors
android:screenOrientation="fullSensor"
.
FullUserMirrors
android:screenOrientation="fullUser"
.
LandscapeMirrors
android:screenOrientation="landscape"
.
LockedMirrors
android:screenOrientation="locked"
.
NoSensorMirrors
android:screenOrientation="noSensor"
.
NullAttribute is not set and will not appear in the element.
PortraitMirrors
android:screenOrientation="portrait"
.
ReverseLandscapeMirrors
android:screenOrientation="reverseLandscape"
.
ReversePortraitMirrors
android:screenOrientation="reversePortrait"
.
SensorMirrors
android:screenOrientation="sensor"
.
SensorLandscapeMirrors
android:screenOrientation="sensorLandscape"
.
SensorPortraitMirrors
android:screenOrientation="sensorPortrait"
.
UnspecifiedMirrors
android:screenOrientation="unspecified"
.
UserMirrors
android:screenOrientation="user"
.
UserLandscapeMirrors
android:screenOrientation="userLandscape"
.
UserPortraitMirrors
android:screenOrientation="userPortrait"
.