docs.unity3d.com
    Show / Hide Table of Contents

    Enum XRInputModalityManager.InputMode

    The mode of an individual hand.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs
    Syntax
    public enum InputMode

    Fields

    Name Description Value
    None

    Neither mode. This is also the mode when waiting for the motion controller to be tracked. Toggle off both sets of GameObjects.


    0
    TrackedHand

    The user is using hand tracking for their hand input. Swap to the Hand Tracking GameObject for the hand.


    1
    MotionController

    The user is using a motion controller for their hand input. Swap to the Motion Controllers GameObject for the hand.


    2
    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