用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:classes:gyroscope:gyroscope

Gyroscope 陀螺仪

class in UnityEngine

Description 描述

Interface into the Gyroscope.

进入陀螺仪的接口。

Use this class to access gyroscope.

使用该类进入陀螺仪。

Variables 变量

attitudeReturns the attitude (ie, orientation in space) of the device.
返回设备的状态(即在空间中的方向)。
enabledSets or retrieves the enabled status of this gyroscope.
设置或者检索该陀螺仪的启用状态。
gravityReturns the gravity acceleration vector expressed in the device's reference frame.
返回在该设备的参考帧中重力加速度表达式。
rotationRateReturns rotation rate as measured by the device's gyroscope.
返回通过陀螺仪测量的旋转比率。
rotationRateUnbiasedReturns unbiased rotation rate as measured by the device's gyroscope.
返回通过陀螺仪测量的无偏的旋转比率。
updateIntervalSets or retrieves gyroscope interval in seconds.
设置或者检索陀螺仪的更新间隔(单位:秒)。
userAccelerationReturns the acceleration that the user is giving to the device.
返回用户指定的设备加速度。
script/unityengine/classes/gyroscope/gyroscope.txt · 最后更改: 2016/08/02 05:34 (外部编辑)