Tanoda
Leap.Unity.DisconnectionNotice Class Reference
Inheritance diagram for Leap.Unity.DisconnectionNotice:

Public Attributes

float fadeInTime = 1.0f
 
float fadeOutTime = 1.0f
 
AnimationCurve fade
 
int waitFrames = 10
 
Color onColor = Color.white
 

Detailed Description

Tracks the connection state of the Leap Motion hardware. If the device is unplugged or otherwise not detected, the script fades in a GUITexture object which should communicate the problem to the user.

Deprecated:
Use ConnectionMonitor in new code.

Definition at line 21 of file DisconnectionNotice.cs.

Member Data Documentation

◆ fade

AnimationCurve Leap.Unity.DisconnectionNotice.fade

The easing curve.

Definition at line 28 of file DisconnectionNotice.cs.

◆ fadeInTime

float Leap.Unity.DisconnectionNotice.fadeInTime = 1.0f

The speed to fade the object alpha from 0 to 1.

Definition at line 24 of file DisconnectionNotice.cs.

◆ fadeOutTime

float Leap.Unity.DisconnectionNotice.fadeOutTime = 1.0f

The speed to fade the object alpha from 1 to 0.

Definition at line 26 of file DisconnectionNotice.cs.

◆ onColor

Color Leap.Unity.DisconnectionNotice.onColor = Color.white

The fully on texture tint color.

Definition at line 32 of file DisconnectionNotice.cs.

◆ waitFrames

int Leap.Unity.DisconnectionNotice.waitFrames = 10

A delay before beginning the fade-in effect.

Definition at line 30 of file DisconnectionNotice.cs.


The documentation for this class was generated from the following file: