Skip to main content
Version: 0.9.0

HandJoints struct

One hand's tracking state: 26 joint locations and velocities indexed by HandJoint.

Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs

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

NameTypeDescription
isTrackedbool
isActivebool
posePose
jointLocationsHandJointLocation[]
hasVelocitybool
jointVelocitiesHandJointVelocity[]

Properties​

MemberDescription
IsTrackedFalse 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
PoseThe 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.
JointLocations26 entries, indexed by HandJoint.
HasVelocityWhether HandJoints.JointVelocities carries data.
JointVelocities26 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[]