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

Directional pinch gesture that provides events for pinching and stopping pinching. More...

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

Public Attributes

UnityEvent OnGestureStart
 
UnityEvent OnGestureEnd
 

Protected Member Functions

override void GestureUpdate (CommonHand activeHand)
 Updates the gesture state based on the active hand's pinch data.
 
- 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

Directional pinch gesture that provides events for pinching and stopping pinching.

Member Function Documentation

◆ GestureUpdate()

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

Updates the gesture state based on the active hand's pinch data.

Parameters
activeHandThe active hand performing the gesture.

Member Data Documentation

◆ OnGestureEnd

UnityEvent FMAR.Gestures.DirectionalPinchGesture.OnGestureEnd

◆ OnGestureStart

UnityEvent FMAR.Gestures.DirectionalPinchGesture.OnGestureStart

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