UnityAPI翻译——VRDevice
来源:互联网 发布:告白墙源码 编辑:程序博客网 时间:2024/06/06 16:33
最近开始搞虚拟现实了,先翻译了unity的官方的相关API,有错误的地方,希望大家多多指教。
VRDevice
VR设备
class in UnityEngine.VR
命名空间UnityEngine.VR下的类
Description
描述
Contains all functionality related to a VR device.
包含所有VR设备相关的所有功能。
Static Variables
静态参数
family
厂商名称
The name of the family of the loaded VR device.
加载VR设备的厂商名称
isPresent
是否显示
Successfully detected a VR device in working order.
是否成功探测到运行正常的VR设备
model
设备型号
Specific model of loaded VR device.
VR设备具体型号的字符串
Static Functions
静态方法
GetNativePtr
获取本地指针
Native pointer to the VR device structure, if available.
如果可用,返回VR设备结构的本地指针
VRDevice.family
VR设备的属性厂商名称family
public static string family;
静态参数厂商名称
Description
描述
The name of the family of the loaded VR device.
当前加载VR设备的厂商名称
There can be many different devices for a given family.
同一个厂商可以有很多不同的设备
VRDevice.isPresent
VRDevice类的属性是否正常显示
public static bool isPresent;
静态参数是否正常显示
Description
描述
Successfully detected a VR device in working order.
是否能检测到正常运行的VR设备
VRDevice.model
VRDevice类的属性设备型号model
public static string model;
静态参数
Description
描述
Specific model of loaded VR device.
当前加载设备的具体型号
VRDevice.GetNativePtr
VRDevice类的GetNativePtr()方法
public static IntPtr GetNativePtr();
静态方法,无参,返回本地指针
Returns
返回值
IntPtr Native pointer to VR device if available, else 0.
可用返回本地指针,否则返回0
Description
描述
Native pointer to the VR device structure, if available.
若可用,返回VR设备结构的本地指针。
This can be used to obtain more features for a given VR device.
可以用来获取当前VR设备的更多特性。
0 0
- UnityAPI翻译——VRDevice
- UnityAPI翻译——InputTracking
- 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】及其技巧
- [Unity 5.3] : [VRDevice] Initialization of device oculus failed 问题解决小结
- 翻译的艺术 —— 名著的翻译
- 翻译的艺术 —— 句子的翻译(意译)
- 第一翻译——朱彤
- Servlet的重点知识总结
- android 自定义dialog 常用的几个点
- PHP开发移动客户端接口---插入数据接口
- appStore上传苹果应用程序软件发布流程
- angular模块控制器分离入门一
- UnityAPI翻译——VRDevice
- shell中各种括号的作用()、(())、[]、[[]]、{}
- OpenGL ES 学习教程(四) 买来墙纸,给立方体贴上!
- 内存对齐
- 关于redis、memcache、mongoDB 的对比
- android5.0应用显示安装未完成问题解决方案
- UVA 11997 - K最小的金额 (DP&转换&&优先队列) 好题
- linux管道pipe
- iOS页面间的几种传值方式