Class MicrosoftHandInteraction
This OpenXRInteractionFeature enables the use of Microsoft hand interaction profiles in OpenXR. It enables XR_MSFT_hand_interaction in the underyling runtime. This creates a new InputDevice with the HandTracking characteristic.
Inheritance
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features.Interactions
Assembly: solution.dll
Syntax
public class MicrosoftHandInteraction : OpenXRInteractionFeature
Fields
| Name | Description |
|---|---|
| aim | Constant for a pose interaction binding '.../input/aim/pose' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| extensionString | The OpenXR Extension string. OpenXR uses this to check if this extension is available or enabled. See hand interaction extension documentation for more information on this OpenXR extension. |
| featureId | The feature id string. This is used to give the feature a well known id for reference. |
| grip | Constant for a pose interaction binding '.../input/grip/pose' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| profile | OpenXR string that represents the hand interaction profile. |
| select | Constant for a float interaction binding '.../input/select/value' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| squeeze | Constant for a float interaction binding '.../input/menu/value' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
Methods
| Name | Description |
|---|---|
| GetDeviceLayoutName() | Return device layout string that used for registering device for the Input System. |
| RegisterActionMapsWithRuntime() | Register action maps for this device with the OpenXR Runtime. Called at runtime before Start. |
| RegisterDeviceLayout() | Registers the MicrosoftHandInteraction.HoloLensHand layout with the Input System. |
| UnregisterDeviceLayout() | Removes the MicrosoftHandInteraction.HoloLensHand layout from the Input System. |