class FakeRuntimeHand


Test-only implementation of RuntimeHand.

Summary

Public constructors

FakeRuntimeHand(
    trackingState: TrackingState,
    handJointsBuffer: FloatBuffer
)

Public properties

open FloatBuffer

The value describing the data of the hand, including trackingState and handJoints' poses.

open TrackingState

The current TrackingState of the hand's data.

Public constructors

FakeRuntimeHand

Added in 1.0.0-alpha05
FakeRuntimeHand(
    trackingState: TrackingState = TrackingState.PAUSED,
    handJointsBuffer: FloatBuffer = ByteBuffer.allocate(0).asFloatBuffer()
)

Public properties

handJointsBuffer

Added in 1.0.0-alpha05
open var handJointsBufferFloatBuffer

The value describing the data of the hand, including trackingState and handJoints' poses.

trackingState

Added in 1.0.0-alpha05
open var trackingStateTrackingState

The current TrackingState of the hand's data.