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.InvalidDeviceId
InputDevice.OnAdded()
InputDevice.ExecuteCommand<TCommand>(ref TCommand)
InputDevice.ExecuteCommand(InputDeviceCommand*)
InputDevice.description
InputDevice.enabled
InputDevice.canRunInBackground
InputDevice.added
InputDevice.native
InputDevice.deviceId
InputDevice.lastUpdateTime
InputDevice.allControls
InputDevice.all
InputControl.ToString()
InputControl.EvaluateMagnitude()
InputControl.RefreshConfigurationIfNeeded()
InputControl.RefreshConfiguration()
InputControl.CalculateOptimizedControlDataType()
InputControl.ApplyParameterChanges()
InputControl.displayName
InputControl.shortDisplayName
InputControl.variants
InputControl.device
InputControl.children
InputControl.usages
InputControl.aliases
InputControl.stateBlock
InputControl.synthetic
InputControl.currentStatePtr
InputControl.previousFrameStatePtr
InputControl.defaultStatePtr
InputControl.stateOffsetRelativeToDeviceRoot
Namespace: UnityEngine.XR.OpenXR.Features.Interactions
Assembly: solution.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 HandInteractionPoses.grip OpenXR binding.
Declaration
[Preserve]
[InputControlAttribute]
public PoseControl devicePose { get; }
Property Value
Type | Description |
---|---|
PoseControl |
pinchPose
A PoseControl that represents the HandInteractionPoses.pinch OpenXR binding.
Declaration
[Preserve]
[InputControlAttribute]
public PoseControl pinchPose { get; }
Property Value
Type | Description |
---|---|
PoseControl |
pointer
A PoseControl that represents the HandInteractionPoses.aim OpenXR binding.
Declaration
[Preserve]
[InputControlAttribute]
public PoseControl pointer { get; }
Property Value
Type | Description |
---|---|
PoseControl |
pokePose
A PoseControl that represents the HandInteractionPoses.poke OpenXR binding.
Declaration
[Preserve]
[InputControlAttribute]
public PoseControl pokePose { get; }
Property Value
Type | Description |
---|---|
PoseControl |
Methods
FinishSetup()
Internal call used to assign controls to the the correct element.
Declaration
protected override void FinishSetup()