Class HandCommonPosesInteraction
This OpenXRInteractionFeature enables the use of hand common poses profiles in OpenXR.
Inheritance
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features.Interactions
Assembly: solution.dll
Syntax
public class HandCommonPosesInteraction : 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. |
| 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. |
| 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 Common Poses feature. |
Methods
| Name | Description |
|---|---|
| GetDeviceLayoutName() | Return device layout string that used to register device in InputSystem. |
| GetInteractionProfileType() | Return Interaction profile type. Hand common poses profile is Device type. |
| OnInstanceCreate(ulong) | Called after xrCreateInstance. |
| RegisterActionMapsWithRuntime() | Register action maps for this device with the OpenXR Runtime. Called at runtime before Start. |
| RegisterDeviceLayout() | Registers the HandCommonPosesInteraction.HandInteractionPoses layout with the Input System. |
| UnregisterDeviceLayout() | Removes the HandCommonPosesInteraction.HandInteractionPoses layout with the Input System. |