public final class OpenXrHand


Wraps the native XrHandJointLocationsEXT with the Hand interface.

Summary

Public methods

@NonNull Map<@NonNull HandJointType, @NonNull Pose>

The value describing the poses of the hand joints.

boolean

The value describing if the hand is active.

void
update(long xrTime)

Updates the entity retrieving its state at xrTime.

Public methods

getHandJoints

Added in 1.0.0-alpha02
public @NonNull Map<@NonNull HandJointType, @NonNull PosegetHandJoints()

The value describing the poses of the hand joints.

isActive

Added in 1.0.0-alpha02
public boolean isActive()

The value describing if the hand is active.

update

Added in 1.0.0-alpha02
public void update(long xrTime)

Updates the entity retrieving its state at xrTime.

Parameters
long xrTime

the number of nanoseconds since the start of the OpenXR epoch.