Class DPadInteraction
This Open
Inherited Members
Namespace: UnityEngine .XR.OpenXR .Features.Interactions
Assembly: solution.dll
Syntax
public class DPadInteraction : OpenXRInteractionFeature
Fields
Name | Description |
---|---|
center |
the radius in the input value space, of a logically circular region in the center of the input, in the range (0, 1). |
center |
the radius in the input value space, of a logically circular region in the center of the input, in the range (0, 1). |
extension |
The OpenXR Extension strings. This is used by OpenXR to check if this extension is available or enabled. /// |
feature |
The feature id string. This is used to give the feature a well known id for reference. |
force |
a number in the half-open range (0, 1] representing the force value threshold at or above which ≥ a dpad input will transition from inactive to active. |
force |
a number in the half-open range (0, 1] representing the force value threshold strictly below which less than a dpad input will transition from active to inactive. |
force |
a number in the half-open range (0, 1] representing the force value threshold strictly below which less than a dpad input will transition from active to inactive. |
force |
a number in the half-open range (0, 1] representing the force value threshold at or above which ≥ a dpad input will transition from inactive to active. |
is |
indicates that the implementation will latch the first region that is activated and continue to indicate that the binding for that region is true until the user releases the input underlying the virtual dpad. |
is |
indicates that the implementation will latch the first region that is activated and continue to indicate that the binding for that region is true until the user releases the input underlying the virtual dpad. |
profile | A unique string for dpad feature |
thumbstick |
Constant for a boolean interaction binding '.../thumbstick/dpad_down' OpenXR Input Binding. |
thumbstick |
Constant for a boolean interaction binding '.../thumbstick/dpad_left' OpenXR Input Binding. |
thumbstick |
Constant for a boolean interaction binding '.../thumbstick/dpad_right' OpenXR Input Binding. |
thumbstick |
Constant for a boolean interaction binding '.../thumbstick/dpad_up' OpenXR Input Binding. |
trackpad |
Constant for a boolean interaction binding '.../trackpad/dpad_center' OpenXR Input Binding. |
trackpad |
Constant for a boolean interaction binding '.../trackpad/dpad_down' OpenXR Input Binding. |
trackpad |
Constant for a boolean interaction binding '.../trackpad/dpad_left' OpenXR Input Binding. |
trackpad |
Constant for a boolean interaction binding '.../trackpad/dpad_right' OpenXR Input Binding. |
trackpad |
Constant for a boolean interaction binding '.../trackpad/dpad_up' OpenXR Input Binding. |
wedge |
indicates the angle in radians of each direction region and is a value in the half-open range (0, π]. |
wedge |
indicates the angle in radians of each direction region and is a value in the half-open range [0, π]. |
Methods
Name | Description |
---|---|
Get |
Return device layout string for registering Dpad in InputSystem. |
On |
Called after xrCreateInstance. |
Register |
Register action maps for this device with the OpenXR Runtime. Called at runtime before Start. |
Register |
Registers the DPad |
Unregister |
Removes the DPad |