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 |