Method | Description | |
---|---|---|
GestureCancelled ( long userId, int userIndex, |
Invoked if a gesture is cancelled.
|
|
GestureCompleted ( long userId, int userIndex, |
Invoked if a gesture is completed.
|
|
GestureInProgress ( long userId, int userIndex, |
Invoked when a gesture is in progress.
|
|
IsHiddenGesture ( ) : bool |
Determines whether hidden gesture is detected.
|
|
IsSwipeLeft ( ) : bool |
Determines whether swipe left is detected.
|
|
IsSwipeRight ( ) : bool |
Determines whether swipe right is detected.
|
|
IsSwipeUp ( ) : bool |
Determines whether swipe up is detected.
|
|
UserDetected ( long userId, int userIndex ) : void |
Invoked when a new user is detected. Here you can start gesture tracking by invoking KinectManager.DetectGesture()-function.
|
|
UserLost ( long userId, int userIndex ) : void |
Invoked when a user gets lost. All tracked gestures for this user are cleared automatically.
|
Method | Description | |
---|---|---|
Awake ( ) : void |
public GestureCancelled ( long userId, int userIndex, |
||
userId | long | User ID |
userIndex | int | User index |
gesture | Gesture type | |
joint | Joint type | |
return | bool |
public GestureCompleted ( long userId, int userIndex, |
||
userId | long | User ID |
userIndex | int | User index |
gesture | Gesture type | |
joint | Joint type | |
screenPos | Vector3 | Normalized viewport position |
return | bool |
public GestureInProgress ( long userId, int userIndex, |
||
userId | long | User ID |
userIndex | int | User index |
gesture | Gesture type | |
progress | float | Gesture progress [0..1] |
joint | Joint type | |
screenPos | Vector3 | Normalized viewport position |
return | void |
public UserDetected ( long userId, int userIndex ) : void | ||
userId | long | User ID |
userIndex | int | User index |
return | void |
public UserLost ( long userId, int userIndex ) : void | ||
userId | long | User ID |
userIndex | int | User index |
return | void |