Class HandInteractionProfile
This OpenXRInteractionFeature enables the use of New Hand interaction profiles in OpenXR.
Inheritance
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features.Interactions
Assembly: solution.dll
Syntax
public class HandInteractionProfile : 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. This is used by OpenXR to check if this extension is available or enabled. /// |
| featureId | The feature id string. This is used to give the feature a well known id for reference. |
| graspReady | Constant for a boolean interaction binding '.../input/grasp_ext/ready_ext' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| graspValue | Constant for a float interaction binding '.../input/grasp_ext/value' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| grip | Constant for a pose interaction binding '.../input/grip/pose' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| pinch | Constant for a pose interaction binding '.../input/pinch_ext/pose' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| pinchReady | Constant for a boolean interaction binding '.../input/pinch_ext/ready_ext' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| pinchValue | Constant for a float interaction binding '.../input/pinch_ext/value' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| pointerActivateReady | Constant for a boolean interaction binding '.../input/aim_activate_ext/ready_ext' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| pointerActivateValue | Constant for a float interaction binding '.../input/aim_activate_ext/value' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| poke | Constant for a pose interaction binding '.../input/poke_ext/pose' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs. |
| profile | The interaction profile string used to reference Hand Interaction Profile. |
Methods
| Name | Description |
|---|---|
| GetDeviceLayoutName() | Return device layout string that used for registering device in InputSystem. |
| OnInstanceCreate(ulong) | Called after xrCreateInstance. |
| RegisterActionMapsWithRuntime() | Register action maps for this device with the OpenXR Runtime. Called at runtime before Start. |
| RegisterDeviceLayout() | Registers the HandInteractionProfile.HandInteraction layout with the Input System. |
| UnregisterDeviceLayout() | Removes the HandInteractionProfile.HandInteraction layout with the Input System. |