用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:enumerations:deviceorientation:deviceorientation

DeviceOrientation 设备方向

enumeration

Description 描述

Describes physical orientation of the device as determined by the OS.

表示有操作系统确定的设备的物理方向。

If device is physically situated between discrete positions, as when (for example) rotated diagonally, system will report Unknown orientation.

如果设备在物理上处于独立位置之间,当旋转对角线时,系统将报告未知的方向。

Variables 变量

UnknownThe orientation of the device cannot be determined.
设备的方向不能被确定。
PortraitThe device is in portrait mode, with the device held upright and the home button at the bottom.
设备在纵向模式,设备直立并home按钮在底部。
PortraitUpsideDownThe device is in portrait mode but upside down, with the device held upright and the home button at the top.
设备在纵向模式,但颠倒一下,设备直立并home按钮在顶部。
LandscapeLeftThe device is in landscape mode, with the device held upright and the home button on the right side.
设备在横向模式,设备直立并home按钮在右边。
LandscapeRightThe device is in landscape mode, with the device held upright and the home button on the left side.
设备在横向模式,设备直立并home按钮在左边。
FaceUpThe device is held parallel to the ground with the screen facing upwards.
设备保持与地面平行,屏幕的面向上。
FaceDownThe device is held parallel to the ground with the screen facing downwards.
设备保持与地面平行,屏幕的面向下。
script/unityengine/enumerations/deviceorientation/deviceorientation.txt · 最后更改: 2016/08/23 03:39 由 hulang