메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
Awake ( ) : void |
public GestureCancelled ( long userId, int userIndex, |
||
userId | long | User ID |
userIndex | int | User index |
gesture | Gesture type | |
joint | Joint type | |
리턴 | 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 |
리턴 | 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 |
리턴 | void |
public UserDetected ( long userId, int userIndex ) : void | ||
userId | long | User ID |
userIndex | int | User index |
리턴 | void |
public UserLost ( long userId, int userIndex ) : void | ||
userId | long | User ID |
userIndex | int | User index |
리턴 | void |