【VR】Leap Motion 官网文档 DisconnectionNotice (未连接通知)
来源:互联网 发布:法律硕士院校排名知乎 编辑:程序博客网 时间:2024/06/04 18:50
前言
不能不说~ 新搭档真心给力!翻译的节奏很嗨。这两篇本人也简单参与了审校,姑且算是合作的吧。
VR热逐渐趋于理智,但软件对VR硬设的探索和发挥依然停留在初始阶段。相对而言,一些VR硬设文档缺乏中文文档,为广大开发者的学习带来阻碍和不便。本系列译文就是在这样的背景下诞生的,而首先推出的是价位上人手可及的 Leap Motion系列。
Leap Motion 的 DisconnectionNotice类会在没有连接时以视觉形式反馈给用户,以便让重新连接。
原译文链接:http://blog.csdn.net/qq_18408937/article/details/47428119
DisconnectionNotice 未连接通知
Displays a notice if the Leap Motion device is not plugged in or the service is not running.
当LeapMotion未连接或者服务为启动时列出通知
Attach this script to the game object containing a GUI Texture with the image to display. The asset package Textures folder contains example graphics for both peripheral and embedded Leap Motion controllers.
添加该脚本到含有GUI Texture的游戏对象上用于显示图片。资源包的图片文件夹中含有外设的和内置LeapMotion控制器所使用的示例图片。
class DisconnectionNotice 未连接通知类
Tracks the connection state of the Leap Motion hardware.
跟踪LeapMotion硬件的链接状态。
If the device is unplugged or otherwise not detected, the script fades in a GUITexture object which should communicate the problem to the user.
如果改设备没有插入或者未被检测到,该脚本会渐渐呈现一个GUITexture对象来传达这个问题给用户。
Public Members 公共变量
Texture2D embeddedReplacementImage Texture2D 内置的替换图片
An alternative image to use when the hardware is embedded in a keyboard or laptop.
当硬件内置到键盘或笔记本上时替换该内置图片。
AnimationCurve fade AnimationCurve 渐变
The easing curve. 简易曲线。
float fadeInTime float 渐入时间
The speed to fade the object alpha from 0 to 1.
决定对象透明度从0到1的变化的速度。
float fadeOutTime float 渐出时间
The speed to fade the object alpha from 1 to 0.
决定对象透明度从1到0的变化的速度。
Color onColor Color 主色调
The fully on texture tint color.
纹理整体的主色调。
int waitFrames int 等待帧数
A delay before beginning the fade-in effect.
开始渐入特效前的延迟帧数。
————————————————————————————————————————————
更多参考:
【VR】Leap Motion 官网文档 脚本参考(目录)
(版权声明:本篇为Leap Motion 官网文档译文,版权归Leap Motion 官网所有,图文内容仅供学习使用。)
- 【VR】Leap Motion 官网文档 DisconnectionNotice (未连接通知)
- 【VR】Leap Motion 官网文档 DisconnectionNotice (未连接通知)
- 【VR】Leap Motion 官网文档 LeapRecorder (Leap记录器)
- 【VR】Leap Motion 官网文档 LeapRecorder (Leap记录器)
- 【VR】Leap Motion 官网文档 FingerModel (手指模型)
- 【VR】Leap Motion 官网文档 ToolModel (工具模型)
- 【VR】Leap Motion 官网文档 ToolModel (工具模型)
- 【VR】Leap Motion 官网文档 LeapUnityExtensions (LeapUnity扩展)
- 【VR】Leap Motion 官网文档 LeapUnityExtensions (LeapUnity扩展)
- 【VR】Leap Motion 官网文档 Unity资源与插件
- 【VR】Leap Motion 官网文档 Unity插件概述
- 【VR】Leap Motion 官网文档 手型资源
- 【VR】Leap Motion 官网文档 HandController(手部控制器)
- 【VR】Leap Motion 官网文档 HandModel(手部模型)
- 【VR】Leap Motion 官网文档 ConfidenceTransparency (确定性透明处理)
- 【VR】Leap Motion 官网文档 ConfidenceTransparency (确定性透明处理)
- 【VR】Leap Motion 官网文档 MagneticPinch (磁性捏取)
- 【VR】Leap Motion 官网文档 MagneticPinch (磁性捏取)
- jQuery(4)JQuery框架操作元素的属性与样式
- leetcode 103: Binary Tree Zigzag Level Order Traversal
- hdu 5372 Segment Game(树状数组+离散化)
- va_list、va_start、va_end 宏用法小结
- 通过若干个 Demo 进行讲解 Auto Layout
- 【VR】Leap Motion 官网文档 DisconnectionNotice (未连接通知)
- 社交产品后端架构设计
- Mongodb 复制集Replica Set搭建与测试
- Quartz原理分析
- hdu5375 Gray code(简单DP)
- java对于微信平台语音接收以及处理,语音下载以及arm格式转换MP3
- 8.12笔记 retrofit超时设置,studio 修改 Lint Error Checking
- hdu(1160)——FatMouse's Speed
- leetcode 104: Maximum Depth of Binary Tree