C# Class KinectV2MouseControl.KinectControl

Afficher le fichier Open project: TangoChen/KinectV2MouseControl

Méthodes publiques

Свойство Type Description
cursorSmoothing float
doClick bool
mouseSensitivity float
pauseThresold float
timeRequired float
useGripGesture bool

Méthodes publiques

Méthode Description
Close ( ) : void
KinectControl ( ) : System
Timer_Tick ( object sender, EventArgs e ) : void

Pause to click timer

bodyFrameReader_FrameArrived ( object sender, BodyFrameArrivedEventArgs e ) : void

Read body frames

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

KinectControl() public méthode

public KinectControl ( ) : System
Résultat System

Timer_Tick() public méthode

Pause to click timer
public Timer_Tick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

bodyFrameReader_FrameArrived() public méthode

Read body frames
public bodyFrameReader_FrameArrived ( object sender, BodyFrameArrivedEventArgs e ) : void
sender object
e BodyFrameArrivedEventArgs
Résultat void

Property Details

cursorSmoothing public_oe property

Value 0 - 0.95f, the larger it is, the smoother the cursor would move
public float cursorSmoothing
Résultat float

doClick public_oe property

Decide if the user need to do clicks or only move the cursor
public bool doClick
Résultat bool

mouseSensitivity public_oe property

How far the cursor move according to your hand's movement
public float mouseSensitivity
Résultat float

pauseThresold public_oe property

The radius range your hand move inside a circle for [timeRequired] seconds would be regarded as a pause-clicking
public float pauseThresold
Résultat float

timeRequired public_oe property

Time required as a pause-clicking
public float timeRequired
Résultat float

useGripGesture public_oe property

Use Grip gesture to click or not
public bool useGripGesture
Résultat bool