docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)