【VR】Leap Motion 官网文档 DisconnectionNotice (未连接通知)
2015-08-11 21:52
435 查看
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.
开始渐入特效前的延迟帧数。
相关文章推荐
- php开源框架分享之php开发中histroy.back(-1)丢失表单数据解决方法
- NOIP 2011 day1 选择客栈
- 发表SCI或EI类英文文章的一些投稿经验[转载]
- JDBC操作hive
- bash特性之文件名通配(globbing)
- HDU 1102 Constructing Roads
- CSS浮动相关解决办法
- 视频转码在实际项目中的应用
- .NET技术大系概览 (迄今为止最全的.NET技术栈)
- 毕业这一年
- 编译
- Oracle 学习之RAC(一) 架构解析
- Apache、php错误与配置(一)
- 黑马程序员
- ANSI和UTF-8编码方式
- autocad2014绘制矩形和正多边形的简单方法
- autocad2014绘制矩形和正多边形的简单方法
- 编译和链接
- bash特性之命令别名和命令引用
- 使UDP服务器尽可能可靠