C# Class LeapMotionListener

Listen to the Leap Motion device and manage the functions linked to the controller.
Inheritance: Listener
Show file Open project: loic-lavergne/mckineap Class Usage Examples

Public Methods

Method Description
LeapMotionListener ( LeapMotionConverter converter, LeapMotionManager leapMotionManager ) : System

UPDATE SUMMARY

OnConnect ( Controller controller ) : void
OnDisconnect ( Controller controller ) : void
OnExit ( Controller controller ) : void
OnFocusGained ( Controller controller ) : void
OnFocusLost ( Controller controller ) : void
OnFrame ( Controller controller ) : void

Function called each frame. Overriding it allows to write at the frame rate of the device.

OnInit ( Controller controller ) : void
OnServiceConnect ( Controller controller ) : void
OnServiceDisconnect ( Controller controller ) : void

Method Details

LeapMotionListener() public method

UPDATE SUMMARY
public LeapMotionListener ( LeapMotionConverter converter, LeapMotionManager leapMotionManager ) : System
converter LeapMotionAPI.LeapMotionConverter
leapMotionManager LeapMotionAPI.LeapMotionManager
return System

OnConnect() public method

public OnConnect ( Controller controller ) : void
controller Controller
return void

OnDisconnect() public method

public OnDisconnect ( Controller controller ) : void
controller Controller
return void

OnExit() public method

public OnExit ( Controller controller ) : void
controller Controller
return void

OnFocusGained() public method

public OnFocusGained ( Controller controller ) : void
controller Controller
return void

OnFocusLost() public method

public OnFocusLost ( Controller controller ) : void
controller Controller
return void

OnFrame() public method

Function called each frame. Overriding it allows to write at the frame rate of the device.
public OnFrame ( Controller controller ) : void
controller Controller Controller that represent the device.
return void

OnInit() public method

public OnInit ( Controller controller ) : void
controller Controller
return void

OnServiceConnect() public method

public OnServiceConnect ( Controller controller ) : void
controller Controller
return void

OnServiceDisconnect() public method

public OnServiceDisconnect ( Controller controller ) : void
controller Controller
return void