FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.Gestures.ThumbsUpGesture Class Reference

Class for detecting and handling the thumbs up gesture. More...

Inheritance diagram for FMAR.Gestures.ThumbsUpGesture:
FMAR.Gestures.GestureBase

Public Attributes

UnityEvent OnGestureStart
 Event triggered when the gesture starts.
 
UnityEvent< float > OnGestureTimer
 Event triggered during the gesture with the elapsed time.
 
UnityEvent OnGestureCancelled
 Event triggered when the gesture is cancelled.
 
UnityEvent OnGestureConfirmed
 Event triggered when the gesture is confirmed.
 
UnityEvent OnGestureEnd
 Event triggered when the gesture ends.
 

Protected Member Functions

override void GestureUpdate (CommonHand activeHand)
 
- Protected Member Functions inherited from FMAR.Gestures.GestureBase
virtual void Update ()
 Updates the gesture state based on the active hand controller.
 
void GestureUpdate (CommonHand activeHand)
 Updates the gesture state based on the active hand.
 

Additional Inherited Members

- Protected Types inherited from FMAR.Gestures.GestureBase
enum  PinchFinger { Index , Middle , Ring , Pinky }
 
- Protected Attributes inherited from FMAR.Gestures.GestureBase
bool isRight
 
- Properties inherited from FMAR.Gestures.GestureBase
bool IsActive [get, protected set]
 

Detailed Description

Class for detecting and handling the thumbs up gesture.

Member Function Documentation

◆ GestureUpdate()

override void FMAR.Gestures.ThumbsUpGesture.GestureUpdate ( CommonHand activeHand)
inlineprotected

Member Data Documentation

◆ OnGestureCancelled

UnityEvent FMAR.Gestures.ThumbsUpGesture.OnGestureCancelled

Event triggered when the gesture is cancelled.

◆ OnGestureConfirmed

UnityEvent FMAR.Gestures.ThumbsUpGesture.OnGestureConfirmed

Event triggered when the gesture is confirmed.

◆ OnGestureEnd

UnityEvent FMAR.Gestures.ThumbsUpGesture.OnGestureEnd

Event triggered when the gesture ends.

◆ OnGestureStart

UnityEvent FMAR.Gestures.ThumbsUpGesture.OnGestureStart

Event triggered when the gesture starts.

◆ OnGestureTimer

UnityEvent<float> FMAR.Gestures.ThumbsUpGesture.OnGestureTimer

Event triggered during the gesture with the elapsed time.


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