HandTester
public final class HandTester
An object which allows for testing a simulation of one of the user's hands in an ARCore unit test environment.
Summary
Public methods |
|
|---|---|
final @NonNull Map<@NonNull HandJointType, @NonNull Pose> |
a |
final boolean |
whether the hand is currently in view of the runtime |
final void |
setHandJointMap(@NonNull Map<@NonNull HandJointType, @NonNull Pose> value)a |
final void |
setVisible(boolean value)whether the hand is currently in view of the runtime |
Public methods
getHandJointMap
Added in 1.0.0-beta01
public final @NonNull Map<@NonNull HandJointType, @NonNull Pose> getHandJointMap()
a Map of HandJointType to that joint's Pose
isVisible
Added in 1.0.0-beta01
public final boolean isVisible()
whether the hand is currently in view of the runtime
setHandJointMap
Added in 1.0.0-beta01
public final void setHandJointMap(@NonNull Map<@NonNull HandJointType, @NonNull Pose> value)
a Map of HandJointType to that joint's Pose
setVisible
Added in 1.0.0-beta01
public final void setVisible(boolean value)
whether the hand is currently in view of the runtime