Enum GestureState
The state of a given gesture.
A gesture can be thought of as a state machine that transitions through multiple states during it's lifetime.
Namespace: UnityEngine.XR.InteractionSubsystems
Assembly: Unity.XR.InteractionSubsystems.dll
Syntax
public enum GestureState
Fields
| Name | Description |
|---|---|
| Canceled | This state describes when the user cancels the gesture. Unity considers this gesture to be finished and no longer receives data for it. |
| Completed | This state describes when the user completes the gesture. Unity considers this gesture to be finished and no longer receives data for it. |
| Discrete | This state describes when a gesture with a single discrete event occurs. There will be no more events triggered for this gesture. |
| Invalid | This state describes an invalid gesture. This gesture is no longer valid or hasn't been setup. |
| Started | This state describes when a gesture has been started. The gesture may be updated before completing or being cancelled. |
| Updated | This state describes when a gesture is being updated during it's lifetime. |