class in UnityEngine
Interface into the Gyroscope.
进入陀螺仪的接口。
Use this class to access gyroscope.
使用该类进入陀螺仪。
attitude | Returns the attitude (ie, orientation in space) of the device. 返回设备的状态(即在空间中的方向)。 |
enabled | Sets or retrieves the enabled status of this gyroscope. 设置或者检索该陀螺仪的启用状态。 |
gravity | Returns the gravity acceleration vector expressed in the device's reference frame. 返回在该设备的参考帧中重力加速度表达式。 |
rotationRate | Returns rotation rate as measured by the device's gyroscope. 返回通过陀螺仪测量的旋转比率。 |
rotationRateUnbiased | Returns unbiased rotation rate as measured by the device's gyroscope. 返回通过陀螺仪测量的无偏的旋转比率。 |
updateInterval | Sets or retrieves gyroscope interval in seconds. 设置或者检索陀螺仪的更新间隔(单位:秒)。 |
userAcceleration | Returns the acceleration that the user is giving to the device. 返回用户指定的设备加速度。 |