HandJoints struct
One hand's tracking state: 26 joint locations and velocities indexed by HandJoint.
Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll
public readonly struct HandJoints
Constructors
HandJoints(bool, bool, Pose, HandJointLocation[], bool, HandJointVelocity[])
public HandJoints(bool isTracked, bool isActive, Pose pose, HandJointLocation[] jointLocations, bool hasVelocity, HandJointVelocity[] jointVelocities)
Parameters
| Name | Type | Description |
|---|---|---|
isTracked | bool | |
isActive | bool | |
pose | Pose | |
jointLocations | HandJointLocation[] | |
hasVelocity | bool | |
jointVelocities | HandJointVelocity[] |
Properties
| Member | Description |
|---|---|
| IsTracked | False when the hand is not tracked; also false for both hands once no sample arrived for a second, or while the render sender's app volume does not resolve. |
| IsActive | |
| Pose | The hand's aim pose, the OpenXR /input/aim/pose: its -Z is the hand ray. The bound app volume's app content space when it comes from RenderSender.GetLastHands. |
| JointLocations | 26 entries, indexed by HandJoint. |
| HasVelocity | Whether HandJoints.JointVelocities carries data. |
| JointVelocities | 26 entries, indexed by HandJoint; meaningful only when HandJoints.HasVelocity is true. |
IsTracked
False when the hand is not tracked; also false for both hands once no sample arrived for a second, or while the render sender's app volume does not resolve.
public bool IsTracked { get; }
Value: bool
IsActive
public bool IsActive { get; }
Value: bool
Pose
The hand's aim pose, the OpenXR /input/aim/pose: its -Z is the hand ray.
The bound app volume's app content space when it comes from
RenderSender.GetLastHands.
public Pose Pose { get; }
Value: Pose
JointLocations
26 entries, indexed by HandJoint.
public HandJointLocation[] JointLocations { get; }
Value: HandJointLocation[]
HasVelocity
Whether HandJoints.JointVelocities carries data.
public bool HasVelocity { get; }
Value: bool
JointVelocities
26 entries, indexed by HandJoint; meaningful only when HandJoints.HasVelocity is true.
public HandJointVelocity[] JointVelocities { get; }
Value: HandJointVelocity[]