Class HandCommonPosesInteraction.HandInteractionPoses
An interaction feature that supports commonly used hand poses for hand interactions across motion controller and hand tracking devices.
Inheritance
HandCommonPosesInteraction.HandInteractionPoses
Inherited Members
InputDevice.all
Namespace: UnityEngine.XR.OpenXR.Features.Interactions
Assembly: Unity.XR.OpenXR.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "Hand Interaction Poses (OpenXR)", commonUsages = new string[] { "LeftHand", "RightHand" }, isGenericTypeOfDevice = true)]
public class HandCommonPosesInteraction.HandInteractionPoses : OpenXRDevice
Properties
devicePose
A PoseControl that represents the grip OpenXR binding.
Declaration
[Preserve]
[InputControl(offset = 0, aliases = new string[] { "device", "gripPose" }, usage = "Device")]
public PoseControl devicePose { get; }
Property Value
| Type | Description |
|---|---|
| PoseControl |
pinchPose
A PoseControl that represents the pinch OpenXR binding.
Declaration
[Preserve]
[InputControl(offset = 0)]
public PoseControl pinchPose { get; }
Property Value
| Type | Description |
|---|---|
| PoseControl |
pointer
A PoseControl that represents the aim OpenXR binding.
Declaration
[Preserve]
[InputControl(offset = 0, alias = "aimPose", usage = "Pointer")]
public PoseControl pointer { get; }
Property Value
| Type | Description |
|---|---|
| PoseControl |
pokePose
A PoseControl that represents the poke OpenXR binding.
Declaration
[Preserve]
[InputControl(offset = 0)]
public PoseControl pokePose { get; }
Property Value
| Type | Description |
|---|---|
| PoseControl |
Methods
FinishSetup()
Internal call used to assign controls to the correct element.
Declaration
protected override void FinishSetup()