FakeRuntimeHand


public final class FakeRuntimeHand


Fake implementation of Hand for testing purposes.

Summary

Public constructors

FakeRuntimeHand(
    @NonNull TrackingState trackingState,
    @NonNull FloatBuffer handJointsBuffer
)

Public methods

@NonNull FloatBuffer

the FloatBuffer containing the pose of each joint in the hand

@NonNull TrackingState

the current TrackingState of the hand's data

void

the FloatBuffer containing the pose of each joint in the hand

void

the current TrackingState of the hand's data

Public constructors

FakeRuntimeHand

Added in 1.0.0-alpha12
public FakeRuntimeHand(
    @NonNull TrackingState trackingState,
    @NonNull FloatBuffer handJointsBuffer
)

Public methods

getHandJointsBuffer

Added in 1.0.0-alpha12
public @NonNull FloatBuffer getHandJointsBuffer()

the FloatBuffer containing the pose of each joint in the hand

getTrackingState

Added in 1.0.0-alpha12
public @NonNull TrackingState getTrackingState()

the current TrackingState of the hand's data

setHandJointsBuffer

Added in 1.0.0-alpha12
public void setHandJointsBuffer(@NonNull FloatBuffer value)

the FloatBuffer containing the pose of each joint in the hand

setTrackingState

Added in 1.0.0-alpha12
public void setTrackingState(@NonNull TrackingState value)

the current TrackingState of the hand's data