Enum GestureState | Package Manager UI website
docs.unity3d.com
    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
    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023