Tanoda
|
Public Attributes | |
LeapServiceProvider | provider |
float | fadeInTime = 1.0f |
float | fadeOutTime = 1.0f |
AnimationCurve | fadeCurve = AnimationCurve.EaseInOut(0.0f, 0.0f, 1.0f, 1.0f) |
int | monitorInterval = 2 |
Color | onColor = Color.white |
float | distanceToCamera = 12.0f |
The ConnectionMonitor class monitors the connection to the Leap Motion service and displays a sprite in front of the camera when a connection is not available. You can use the PluginLeapNotice sprites in the LeapMotion/Textures folder or create your own.
Definition at line 21 of file ConnectionMonitor.cs.
float Leap.Unity.ConnectionMonitor.distanceToCamera = 12.0f |
The distance of the notification sprite from the camera in world units.
Definition at line 44 of file ConnectionMonitor.cs.
AnimationCurve Leap.Unity.ConnectionMonitor.fadeCurve = AnimationCurve.EaseInOut(0.0f, 0.0f, 1.0f, 1.0f) |
The easing curve.
Definition at line 35 of file ConnectionMonitor.cs.
float Leap.Unity.ConnectionMonitor.fadeInTime = 1.0f |
The speed to fade the sprite alpha from 0 to 1.
Definition at line 28 of file ConnectionMonitor.cs.
float Leap.Unity.ConnectionMonitor.fadeOutTime = 1.0f |
The speed to fade the sprite alpha from 1 to 0.
Definition at line 32 of file ConnectionMonitor.cs.
int Leap.Unity.ConnectionMonitor.monitorInterval = 2 |
How often to check the connection.
Definition at line 38 of file ConnectionMonitor.cs.
Color Leap.Unity.ConnectionMonitor.onColor = Color.white |
The fully on texture tint color.
Definition at line 41 of file ConnectionMonitor.cs.
LeapServiceProvider Leap.Unity.ConnectionMonitor.provider |
The LeapServiceProvider in the scene.
Definition at line 24 of file ConnectionMonitor.cs.