UnityAPI翻译——InputTracking
来源:互联网 发布:js点击图片放大预览 编辑:程序博客网 时间:2024/06/14 02:44
最近开始搞虚拟现实了,先翻译了unity的官方的相关API,有错误的地方,希望大家多多指教。
InputTracking
输入跟踪
class in UnityEngine.VR
命名空间UnityEngine.VR下面的类
Description
描述
VR Input tracking data.
跟踪VR设备输入数据
Static Functions
静态方法
GetLocalPosition
获取本地坐标
The current position of the requested VRNode.
所需节点的当前坐标
GetLocalRotation
获取本地旋转
The current rotation of the requested VRNode.
所需节点的当前旋转四维数
Recenter
聚焦
Center tracking on the current pose.
聚焦到当前状态的中心点
InputTracking.GetLocalPosition
输入跟踪类中的方法GetLocalPosition()
public staticVector3GetLocalPosition(VR.VRNodenode);
静态方法,传入参数VR节点,返回三维坐标
Parameters
参数
node
节点
Node index.
节点下标
Returns
返回
Vector3 Position of node local to its tracking space.
根据跟踪位置返回节点的本地三维坐标
Description
描述
The current position of the requested VRNode.
所需节点的当前坐标
InputTracking.GetLocalRotation
输入跟踪类中的GetLocalRotation()方法
public static Quaternion GetLocalRotation(VR.VRNodenode);
静态方法,参数为VR节点,返回旋转四维数
Parameters
参数
node
节点
Node index.
节点下标
Returns
返回
Quaternion Rotation of node local to its tracking space.
跟踪位置节点的本地旋转四维数
Description
描述
The current rotation of the requested VRNode.
所需VR节点的本地旋转
InputTracking.Recenter
输入跟踪类的聚焦Recenter()方法
public static voidRecenter();
静态方法,无参,无返回值
Description
描述
Center tracking on the current pose.
聚焦到当前状态的中心点
0 0
- UnityAPI翻译——InputTracking
- UnityAPI翻译——VRDevice
- UnityAPI翻译——VRSettings
- UnityAPI翻译——VRDeviceType
- UnityAPI翻译——VRNode
- UnityAPI:velocity属性——刚体速度
- UnityAPI——Mathf数学运算
- Unity中的ForceMode——纠正《UnityAPI解析——陈泉宏》一书 关于ForceMode的注解
- 小译UnityAPI-Mathf.Lerp
- UnityAPI常用方法和类
- 小译UnityAPI-Update,FixedUpdate ,LateUpdate
- 小译UnityAPI-Awake,Start,Reset
- 小译UnityAPI-OnApplicationFocus,OnApplicationPause,OnApplicationQuit
- 浅析UnityAPI【Physics.OverlapSphere】及其技巧
- 翻译的艺术 —— 名著的翻译
- 翻译的艺术 —— 句子的翻译(意译)
- 第一翻译——朱彤
- poj——1273翻译
- Android 网络图片缓存
- 2015-12-02
- Codeforces Round #280 (Div. 2)B. Vanya and Lanterns(贪心)
- spinner设置选中后文字的颜色,大小
- Maven学习总结(七)——eclipse中使用Maven创建Web项目
- UnityAPI翻译——InputTracking
- iOS开发之如何跳到系统设置里的各种设置界面
- php soap简单实现
- facebook 的标语
- vector容器的三种遍历方法
- tty
- Virtual DOM 算法
- LeetCode 20 : Valid Parentheses (Java)
- vs2008程序退出时自动清除注册表!