Class HandInteractionProfile.HandInteraction
A new interaction profile for hand tracking input device to provide actions through the OpenXR action system.
Inheritance
Inherited Members
Namespace: UnityEngine .XR.OpenXR .Features.Interactions
Assembly: solution.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "Hand Interaction (OpenXR)", commonUsages = new string[] { "LeftHand", "RightHand" })]
public class HandInteractionProfile.HandInteraction : XRController
Properties
Name | Description |
---|---|
device |
A Pose |
device |
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the device position. This value is equivalent to mapping gripPose/position. |
device |
A Quaternion |
grasp |
An Axis |
grasp |
An Axis |
is |
A Button |
pinch |
A Pose |
pinch |
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the pinch position. This value is equivalent to mapping pinchPose/position. |
pinch |
An Axis |
pinch |
A Quaternion |
pinch |
An Axis |
pointer | A Pose |
pointer |
An Axis |
pointer |
An Axis |
pointer |
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the aim position. This value is equivalent to mapping aimPose/position. |
pointer |
A Quaternion |
poke |
A Pose |
poke |
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the poke position. This value is equivalent to mapping pokePose/position. |
poke |
A Quaternion |
tracking |
A Integer |
Methods
Name | Description |
---|---|
Finish |
Internal call used to assign controls to the the correct element. |