C# 클래스 Kinect.VisualGestureManager

Visual gesture manager is the component dealing with VGB gestures.
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: BrainProject/UnityTemp 1 사용 예제들

공개 메소드들

메소드 설명
GetGestureAtIndex ( int i ) : string

Gets the gesture name at specified index, or empty string if the index is out of range.

GetGestureConfidence ( string gestureName ) : float

Gets the confidence of the specified discrete gesture, in range [0, 1].

GetGestureProgress ( string gestureName ) : float

Gets the progress of the specified continuous gesture, in range [0, 1].

GetGesturesCount ( ) : int

Gets the count of detected gestures.

GetGesturesList ( ) : List

Gets the list of detected gestures.

GetTrackedUserID ( ) : long

Gets the skeleton ID of the tracked user, or 0 if no user was associated with the gestures.

IsGestureCompleted ( string gestureName, bool bResetOnComplete ) : bool

Determines whether the specified discrete gesture is completed.

IsTrackingGesture ( string gestureName ) : bool

Determines whether the given gesture is in the list of detected gestures.

IsVisualGestureInitialized ( ) : bool

Determines whether the visual-gesture manager was successfully initialized.

OnDestroy ( ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
FinishVisualGestures ( ) : void
InitVisualGestures ( ) : bool
IsVisualGesturesAvailable ( bool &bNeedRestart ) : bool
UpdateVisualGestures ( long userId ) : bool

메소드 상세

GetGestureAtIndex() 공개 메소드

Gets the gesture name at specified index, or empty string if the index is out of range.
public GetGestureAtIndex ( int i ) : string
i int The index
리턴 string

GetGestureConfidence() 공개 메소드

Gets the confidence of the specified discrete gesture, in range [0, 1].
public GetGestureConfidence ( string gestureName ) : float
gestureName string Gesture name
리턴 float

GetGestureProgress() 공개 메소드

Gets the progress of the specified continuous gesture, in range [0, 1].
public GetGestureProgress ( string gestureName ) : float
gestureName string Gesture name
리턴 float

GetGesturesCount() 공개 메소드

Gets the count of detected gestures.
public GetGesturesCount ( ) : int
리턴 int

GetGesturesList() 공개 메소드

Gets the list of detected gestures.
public GetGesturesList ( ) : List
리턴 List

GetTrackedUserID() 공개 메소드

Gets the skeleton ID of the tracked user, or 0 if no user was associated with the gestures.
public GetTrackedUserID ( ) : long
리턴 long

IsGestureCompleted() 공개 메소드

Determines whether the specified discrete gesture is completed.
public IsGestureCompleted ( string gestureName, bool bResetOnComplete ) : bool
gestureName string Gesture name
bResetOnComplete bool If set to true, resets the gesture state.
리턴 bool

IsTrackingGesture() 공개 메소드

Determines whether the given gesture is in the list of detected gestures.
public IsTrackingGesture ( string gestureName ) : bool
gestureName string Gesture name.
리턴 bool

IsVisualGestureInitialized() 공개 메소드

Determines whether the visual-gesture manager was successfully initialized.
public IsVisualGestureInitialized ( ) : bool
리턴 bool

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void