๐Hand Tracking Finger Gesture Tracking
Last updated
Last updated
This class tracks the state of fingers touching each other. It detects finger touch events and triggers corresponding start and stop events. It is used to monitor the state of finger touches and manage touch-related gestures.
Hand Tracking
: Reference to the hand tracking system.
Finger Tip Scale
: Scale factor for the finger tip size during touch detection.
Finger Touch Event Delay
: Delay in seconds before triggering a finger touch event.
On Finger Touch Start
: Event triggered when a finger touch starts.
On Finger Touch Stop
: Event triggered when a finger touch stops.
This class handles the events for finger gestures, triggering Unity Events when specific fingers start or stop touching each other. It links touch gestures to Unity events, allowing for custom behavior in response to finger touches.
Hand Finger Gesture Tracker
: Reference to the hand finger gesture tracker.
Finger1
: The first finger involved in the gesture event.
Finger2
: The second finger or list of fingers allowed to trigger the gesture event.
On Finger Touch Start Event
: Unity event triggered when a finger touch starts.
On Finger Touch Stop Event
: Unity event triggered when a finger touch stops.