用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:enumerations:screenorientation:screenorientation

ScreenOrientation 屏幕方向

Description 描述

Describes screen orientation.

Currently this is only relevant on mobile devices.

See Also: Screen.orientation.

描述屏幕取向。

目前这只是在移动设备上的相关。

参见:Screen.orientation

Variables 变量

PortraitPortrait orientation.
纵向取向。
PortraitUpsideDownPortrait orientation, upside down.
纵向倒置。
LandscapeLeftLandscape orientation, counter-clockwise from the portrait orientation.
横向取向。从纵向逆时针旋转。
LandscapeRightLandscape orientation, clockwise from the portrait orientation.
横向取向。从纵向顺时针旋转。
AutoRotationAuto-rotates the screen as necessary toward any of the enabled orientations.
自动旋转,将使用已启用的方向。
script/unityengine/enumerations/screenorientation/screenorientation.txt · 最后更改: 2016/10/08 08:23 由 emjo