分享

Gyroscope 陀螺

 3dC 2014-05-06

Gyroscope 陀螺

Interface into the Gyroscope.

陀螺接口。

Use this class to access gyroscope.

使用这个类访问陀螺。

Variables变量

  • Returns rotation rate as measured by the device's gyroscope.
    返回设备陀螺仪测量的旋转速率。
  • Returns unbiased rotation rate as measured by the device's gyroscope.
    返回由设备陀螺仪测量的无偏旋转速率。
  • Returns the gravity acceleration vector expressed in the device's reference frame.
    返回在设备参考帧的重力加速度。
  • Returns the acceleration that the user is giving to the device.
    返回用户提供给设备的加速度。
  • Returns the attitude of the device. 返回设备的姿态。
  • Sets or retrieves status of this gyroscope. 设置或检索该陀螺仪的状态。
  • Sets or retrieves gyroscope interval in seconds.
    设置或检索该陀螺仪的间隔,以秒为单位。



Gyroscope.rotationRate 旋转速率

var rotationRate : Vector3

Description描述

Returns rotation rate as measured by the device's gyroscope.

返回设备陀螺仪测量的旋转速率。

————————————————————————

Gyroscope.rotationRateUnbiased 无偏旋转速率

var rotationRateUnbiased : Vector3

Description描述

Returns unbiased rotation rate as measured by the device's gyroscope.

返回由设备陀螺仪测量的无偏旋转速率。

——————————————————————————————————————

Gyroscope.gravity 重力

var gravity : Vector3

Description描述

Returns the gravity acceleration vector expressed in the device's reference frame.

返回在设备参考帧的重力加速度。

————————————————————————————————————————

Gyroscope.userAcceleration 用户加速度

var userAcceleration : Vector3

Description描述

Returns the acceleration that the user is giving to the device.

返回用户提供给设备的加速度

——————————————————————————————————————--

Gyroscope.attitude 姿态

var attitude : Quaternion

Description描述

Returns the attitude of the device.

返回设备的姿态。

——————————————————————

Gyroscope.enabled 启用

var enabled : boolean

Description描述

Sets or retrieves status of this gyroscope.

设置或检索该陀螺仪的状态。

————————————————————

Gyroscope.updateInterval 更新间隔

var updateInterval : float

Description描述

Sets or retrieves gyroscope interval in seconds.

设置或检索该陀螺仪的间隔,以秒为单位。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多