Class WindowsMRUsages
Input Usages, consumed by the UnityEngine.XR.InputDevice class in order to retrieve inputs. These usages are all WindowsMR specific.
Namespace: Unity.XR.WindowsMR
Syntax
public static class WindowsMRUsages
Fields
AirTap
A bool representing if the user's index finger in the down position.
Declaration
public static InputFeatureUsage<bool> AirTap
Field Value
Type | Description |
---|---|
InputFeatureUsage<Boolean> |
Remarks
This data is HoloLens-specific and can also be queried using CommonUsages.triggerButton.
PointerPosition
A Vector3 position representing the tip of the controller pointing forward.
Declaration
public static InputFeatureUsage<Vector3> PointerPosition
Field Value
Type | Description |
---|---|
InputFeatureUsage<Vector3> |
PointerRotation
A Quaternion rotation representing the tip of the controller pointing forward.
Declaration
public static InputFeatureUsage<Quaternion> PointerRotation
Field Value
Type | Description |
---|---|
InputFeatureUsage<Quaternion> |
SourceLossRisk
A [0,1] value that reports the risk that detection of the hand will be lost.
Declaration
public static InputFeatureUsage<float> SourceLossRisk
Field Value
Type | Description |
---|---|
InputFeatureUsage<Single> |
SourceMitigationDirection
A Vector3 direction that reports the suggested direction the user should move his hand if he is at risk of losing tracking.
Declaration
public static InputFeatureUsage<Vector3> SourceMitigationDirection
Field Value
Type | Description |
---|---|
InputFeatureUsage<Vector3> |