Class MicrosoftHandInteraction.HoloLensHand
An Input System device based off the hand interaction profile in the Hand Interaction Extension. Enabled through Microsoft
Inheritance
Inherited Members
Namespace: UnityEngine .XR.OpenXR .Features.Interactions
Assembly: solution.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "Hololens Hand (OpenXR)", commonUsages = new string[] { "LeftHand", "RightHand" })]
public class MicrosoftHandInteraction.HoloLensHand : XRController
Properties
devicePose
A Button
Declaration
[Preserve]
[InputControlAttribute]
public PoseControl devicePose { get; }
Property Value
Type | Description |
---|---|
Pose |
devicePosition
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the device position, or grip position. This value is equivalent to mapping devicePose/position.
Declaration
[Preserve]
[InputControlAttribute]
public Vector3Control devicePosition { get; }
Property Value
Type | Description |
---|---|
Vector3Control |
deviceRotation
A Quaternion
Declaration
[Preserve]
[InputControlAttribute]
public QuaternionControl deviceRotation { get; }
Property Value
Type | Description |
---|---|
Quaternion |
isTracked
A Button
Declaration
[Preserve]
[InputControlAttribute]
public ButtonControl isTracked { get; }
Property Value
Type | Description |
---|---|
Button |
pointer
A Button
Declaration
[Preserve]
[InputControlAttribute]
public PoseControl pointer { get; }
Property Value
Type | Description |
---|---|
Pose |
pointerPosition
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the pointer position. This value is equivalent to mapping pointerPose/position.
Declaration
[Preserve]
[InputControlAttribute]
public Vector3Control pointerPosition { get; }
Property Value
Type | Description |
---|---|
Vector3Control |
pointerRotation
A Quaternion
Declaration
[Preserve]
[InputControlAttribute]
public QuaternionControl pointerRotation { get; }
Property Value
Type | Description |
---|---|
Quaternion |
select
An Axis
Declaration
[Preserve]
[InputControlAttribute]
public AxisControl select { get; }
Property Value
Type | Description |
---|---|
Axis |
selectPressed
A Button
Declaration
[Preserve]
[InputControlAttribute]
public ButtonControl selectPressed { get; }
Property Value
Type | Description |
---|---|
Button |
squeeze
An Axis
Declaration
[Preserve]
[InputControlAttribute]
public AxisControl squeeze { get; }
Property Value
Type | Description |
---|---|
Axis |
squeezePressed
A Button
Declaration
[Preserve]
[InputControlAttribute]
public ButtonControl squeezePressed { get; }
Property Value
Type | Description |
---|---|
Button |
trackingState
A Integer
Declaration
[Preserve]
[InputControlAttribute]
public IntegerControl trackingState { get; }
Property Value
Type | Description |
---|---|
Integer |
Methods
FinishSetup()
Internal call used to assign controls to the the correct element.
Declaration
protected override void FinishSetup()