MeshBaker
Public Member Functions | Properties | List of all members
FingerGestures.IFingerList Interface Reference

Represent a read-only list of fingers, augmented with a bunch of utility methods More...

Inherits IEnumerable< Finger >.

Inherited by FingerGestures.FingerList.

Public Member Functions

Vector2 GetAveragePosition ()
 Get the average position of all the fingers in the list More...
 
Vector2 GetAveragePreviousPosition ()
 Get the average previous position of all the fingers in the list More...
 
float GetAverageDistanceFromStart ()
 Get the average distance from each finger's starting position in the list More...
 
Finger GetOldest ()
 Find the finger with the oldest StartTime More...
 

Properties

Finger this[int index] [get]
 Get finger in array by index More...
 
int Count [get]
 Number of fingers in the list More...
 

Detailed Description

Represent a read-only list of fingers, augmented with a bunch of utility methods

Member Function Documentation

§ GetAverageDistanceFromStart()

float FingerGestures.IFingerList.GetAverageDistanceFromStart ( )

Get the average distance from each finger's starting position in the list

Implemented in FingerGestures.FingerList.

§ GetAveragePosition()

Vector2 FingerGestures.IFingerList.GetAveragePosition ( )

Get the average position of all the fingers in the list

Implemented in FingerGestures.FingerList.

§ GetAveragePreviousPosition()

Vector2 FingerGestures.IFingerList.GetAveragePreviousPosition ( )

Get the average previous position of all the fingers in the list

Implemented in FingerGestures.FingerList.

§ GetOldest()

Finger FingerGestures.IFingerList.GetOldest ( )

Find the finger with the oldest StartTime

Implemented in FingerGestures.FingerList.

Property Documentation

§ Count

int FingerGestures.IFingerList.Count
get

Number of fingers in the list

§ this[int index]

Finger FingerGestures.IFingerList.this[int index]
get

Get finger in array by index

Parameters
indexThe array index

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