Hand.State


public final class Hand.State


The representation of the current state of Hand.

Summary

Public constructors

State(
    boolean isActive,
    @NonNull Map<@NonNull HandJointType, @NonNull Pose> handJoints
)

Public methods

boolean
equals(Object other)
final @NonNull Map<@NonNull HandJointType, @NonNull Pose>

the current pose of each joint in the hand.

int
final boolean

whether the hand is currently being tracked.

Public constructors

State

Added in 1.0.0-alpha02
public State(
    boolean isActive,
    @NonNull Map<@NonNull HandJointType, @NonNull Pose> handJoints
)

Public methods

equals

public boolean equals(Object other)

getHandJoints

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

the current pose of each joint in the hand.

hashCode

public int hashCode()

isActive

Added in 1.0.0-alpha02
public final boolean isActive()

whether the hand is currently being tracked.