游戏蛮牛Unity 用户文档
1.0
首页
-
资讯
-
Unity教程
-
Cocos2d教程
-
游戏
-
招聘
-
专题控
-
博客
-
手册
-
论坛
Unity 脚本手册
用户手册
组件手册
脚本手册
用户手册
组件手册
脚本手册
Gyroscope 陀螺
Interface into the Gyroscope.
陀螺接口。
Use this class to access gyroscope.
使用这个类访问陀螺。
Variables
变量
rotationRate
Returns rotation rate as measured by the device's gyroscope.
返回设备陀螺仪测量的旋转速率。
rotationRateUnbiased
Returns unbiased rotation rate as measured by the device's gyroscope.
返回由设备陀螺仪测量的无偏旋转速率。
gravity
Returns the gravity acceleration vector expressed in the device's reference frame.
返回在设备参考帧的重力加速度。
userAcceleration
Returns the acceleration that the user is giving to the device.
返回用户提供
给设备的加速度。
attitude
Returns the attitude of the device. 返回设备的姿态。
enabled
Sets or retrieves status of this gyroscope. 设置或检索该陀螺仪的状态。
updateInterval
Sets or retrieves gyroscope interval in seconds.
设置或检索该陀螺仪的间隔,以秒为单位。
Page last updated: 2011-9-10