FakeRuntimeHand


class FakeRuntimeHand


Fake implementation of Hand for testing purposes.

Summary

Public constructors

FakeRuntimeHand(
    trackingState: TrackingState,
    handJointsBuffer: FloatBuffer
)

Public properties

open FloatBuffer

the FloatBuffer containing the pose of each joint in the hand

open TrackingState

the current TrackingState of the hand's data

Public constructors

FakeRuntimeHand

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

Public properties

handJointsBuffer

Added in 1.0.0-alpha12
open var handJointsBufferFloatBuffer

the FloatBuffer containing the pose of each joint in the hand

trackingState

Added in 1.0.0-alpha12
open var trackingStateTrackingState

the current TrackingState of the hand's data