Class ViveHandInteractionExt.HandInteractionExtDevice
Inheritance
Inherited Members
Namespace: VIVE.OpenXR.Hand
Assembly: VIVE.OpenXR.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "VIVE Hand Interaction Ext (OpenXR)", commonUsages = new string[] { "LeftHand", "RightHand" })]
public class ViveHandInteractionExt.HandInteractionExtDevice : XRController
Properties
devicePose
A UnityEngine.XR.OpenXR.Input.PoseControl representing 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 |
devicePosition
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the device position. This value is equivalent to mapping devicePose/position.
Declaration
[Preserve]
[InputControl(offset = 8, noisy = true, alias = "gripPosition")]
public Vector3Control devicePosition { get; }
Property Value
Type | Description |
---|---|
Vector3Control |
deviceRotation
A QuaternionControl required for backwards compatibility with the XRSDK layouts. This is the device orientation. This value is equivalent to mapping devicePose/rotation.
Declaration
[Preserve]
[InputControl(offset = 20, noisy = true, alias = "gripRotation")]
public QuaternionControl deviceRotation { get; }
Property Value
Type | Description |
---|---|
QuaternionControl |
graspReady
A UnityEngine.InputSystem.Controls.ButtonControl representing the graspReady OpenXR bindings, depending on handedness.
Declaration
[Preserve]
[InputControl(aliases = new string[] { "isGrasped", "isGripped" }, usage = "GraspReady")]
public ButtonControl graspReady { get; }
Property Value
Type | Description |
---|---|
ButtonControl |
graspValue
A UnityEngine.InputSystem.Controls.AxisControl representing information from the graspValue OpenXR binding.
Declaration
[Preserve]
[InputControl(aliases = new string[] { "gripValue" }, usage = "GraspValue")]
public AxisControl graspValue { get; }
Property Value
Type | Description |
---|---|
AxisControl |
isTracked
A ButtonControl required for backwards compatibility with the XRSDK layouts. This represents the overall tracking state of the device. This value is equivalent to mapping devicePose/isTracked.
Declaration
[Preserve]
[InputControl(offset = 2)]
public ButtonControl isTracked { get; }
Property Value
Type | Description |
---|---|
ButtonControl |
pinchPose
A UnityEngine.XR.OpenXR.Input.PoseControl representing the pinchPose OpenXR binding.
Declaration
[Preserve]
[InputControl(offset = 0, usage = "Pinch")]
public PoseControl pinchPose { get; }
Property Value
Type | Description |
---|---|
PoseControl |
pinchPosition
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the pinch position. This value is equivalent to mapping pinchPose/position.
Declaration
[Preserve]
[InputControl(offset = 136, noisy = true)]
public Vector3Control pinchPosition { get; }
Property Value
Type | Description |
---|---|
Vector3Control |
pinchReady
A UnityEngine.InputSystem.Controls.ButtonControl representing the pinchReady OpenXR bindings, depending on handedness.
Declaration
[Preserve]
[InputControl(aliases = new string[] { "isPinched" }, usage = "PinchReady")]
public ButtonControl pinchReady { get; }
Property Value
Type | Description |
---|---|
ButtonControl |
pinchRotation
A QuaternionControl required for backwards compatibility with the XRSDK layouts. This is the pinch orientation. This value is equivalent to mapping pinchPose/rotation.
Declaration
[Preserve]
[InputControl(offset = 148, noisy = true)]
public QuaternionControl pinchRotation { get; }
Property Value
Type | Description |
---|---|
QuaternionControl |
pinchValue
A UnityEngine.InputSystem.Controls.AxisControl representing information from the pinchValue OpenXR binding.
Declaration
[Preserve]
[InputControl(usage = "PinchValue")]
public AxisControl pinchValue { get; }
Property Value
Type | Description |
---|---|
AxisControl |
pointer
A UnityEngine.XR.OpenXR.Input.PoseControl representing the aim OpenXR binding.
Declaration
[Preserve]
[InputControl(offset = 0, alias = "aimPose", usage = "Pointer")]
public PoseControl pointer { get; }
Property Value
Type | Description |
---|---|
PoseControl |
pointerActivateReady
A UnityEngine.InputSystem.Controls.ButtonControl representing the pointerActivateReady OpenXR bindings, depending on handedness.
Declaration
[Preserve]
[InputControl(aliases = new string[] { "isPointed", "pointerReady" }, usage = "PointerActivateReady")]
public ButtonControl pointerActivateReady { get; }
Property Value
Type | Description |
---|---|
ButtonControl |
pointerActivateValue
A UnityEngine.InputSystem.Controls.AxisControl representing information from the pointerActivateValue OpenXR binding.
Declaration
[Preserve]
[InputControl(aliases = new string[] { "pointerValue" }, usage = "PointerActivateValue")]
public AxisControl pointerActivateValue { get; }
Property Value
Type | Description |
---|---|
AxisControl |
pointerPosition
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the aim position. This value is equivalent to mapping pointer/position.
Declaration
[Preserve]
[InputControl(offset = 72, noisy = true)]
public Vector3Control pointerPosition { get; }
Property Value
Type | Description |
---|---|
Vector3Control |
pointerRotation
A QuaternionControl required for backwards compatibility with the XRSDK layouts. This is the aim orientation. This value is equivalent to mapping pointer/rotation.
Declaration
[Preserve]
[InputControl(offset = 84, noisy = true)]
public QuaternionControl pointerRotation { get; }
Property Value
Type | Description |
---|---|
QuaternionControl |
pokePose
A UnityEngine.XR.OpenXR.Input.PoseControl representing the poke OpenXR binding.
Declaration
[Preserve]
[InputControl(offset = 0, alias = "indexTip", usage = "Poke")]
public PoseControl pokePose { get; }
Property Value
Type | Description |
---|---|
PoseControl |
pokePosition
A Vector3Control required for backwards compatibility with the XRSDK layouts. This is the poke position. This value is equivalent to mapping pokePose/position.
Declaration
[Preserve]
[InputControl(offset = 200, noisy = true)]
public Vector3Control pokePosition { get; }
Property Value
Type | Description |
---|---|
Vector3Control |
pokeRotation
A QuaternionControl required for backwards compatibility with the XRSDK layouts. This is the poke orientation. This value is equivalent to mapping pokePose/rotation.
Declaration
[Preserve]
[InputControl(offset = 212, noisy = true)]
public QuaternionControl pokeRotation { get; }
Property Value
Type | Description |
---|---|
QuaternionControl |
trackingState
A IntegerControl required for backwards compatibility with the XRSDK layouts. This represents the bit flag set to indicate what data is valid. This value is equivalent to mapping devicePose/trackingState.
Declaration
[Preserve]
[InputControl(offset = 4)]
public IntegerControl trackingState { get; }
Property Value
Type | Description |
---|---|
IntegerControl |
Methods
FinishSetup()
Internal call used to assign controls to the the correct element.
Declaration
protected override void FinishSetup()