Class MicrosoftHandInteraction
This OpenXRInteractionFeature enables the use of eye gaze interaction profiles in OpenXR. It enables XR_MSFT_hand_interaction in the underyling runtime.
This creates a new
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Features.Interactions
Syntax
public class MicrosoftHandInteraction : OpenXRInteractionFeature
Fields
aim
Constant for a pose interaction binding '.../input/aim/pose' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs.
Declaration
public const string aim = null
Field Value
Type | Description |
---|---|
String |
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.
Declaration
public const string extensionString = null
Field Value
Type | Description |
---|---|
String |
featureId
The feature id string. This is used to give the feature a well known id for reference.
Declaration
public const string featureId = null
Field Value
Type | Description |
---|---|
String |
grip
Constant for a pose interaction binding '.../input/grip/pose' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs.
Declaration
public const string grip = null
Field Value
Type | Description |
---|---|
String |
profile
OpenXR string that represents the hand interaction profile.
Declaration
public const string profile = null
Field Value
Type | Description |
---|---|
String |
select
Constant for a float interaction binding '.../input/select/value' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs.
Declaration
public const string select = null
Field Value
Type | Description |
---|---|
String |
squeeze
Constant for a float interaction binding '.../input/menu/value' OpenXR Input Binding. Used by input subsystem to bind actions to physical inputs.
Declaration
public const string squeeze = null
Field Value
Type | Description |
---|---|
String |
Methods
RegisterActionMapsWithRuntime()
Register action maps for this device with the OpenXR Runtime. Called at runtime before Start.
Declaration
protected override void RegisterActionMapsWithRuntime()
Overrides
RegisterDeviceLayout()
Registers the
Declaration
protected override void RegisterDeviceLayout()
Overrides
UnregisterDeviceLayout()
Removes the
Declaration
protected override void UnregisterDeviceLayout()