HandJointType


enum HandJointType : Enum


Type of hand joint.

Summary

Enum Values

INDEX_DISTAL

The third joint of the index finger, closest to the fingertip.

INDEX_INTERMEDIATE

The second joint of the index finger, between the proximal and distal joints.

INDEX_METACARPAL

The base of the index finger, connecting it to the hand.

INDEX_PROXIMAL

The first joint of the index finger, closer to the palm.

INDEX_TIP

The tip of the index finger.

LITTLE_DISTAL

The third joint of the little finger, closest to the fingertip.

LITTLE_INTERMEDIATE

The second joint of the little finger, between the proximal and distal joints.

LITTLE_METACARPAL

The base of the little finger (pinky), connecting it to the hand.

LITTLE_PROXIMAL

The first joint of the little finger, closer to the palm.

LITTLE_TIP

The tip of the little finger (pinky).

MIDDLE_DISTAL

The third joint of the middle finger, closest to the fingertip.

MIDDLE_INTERMEDIATE

The second joint of the middle finger, between the proximal and distal joints.

MIDDLE_METACARPAL

The base of the middle finger, connecting it to the hand.

MIDDLE_PROXIMAL

The first joint of the middle finger, closer to the palm.

MIDDLE_TIP

The tip of the middle finger.

PALM

The center of the palm.

RING_DISTAL

The third joint of the ring finger, closest to the fingertip.

RING_INTERMEDIATE

The second joint of the ring finger, between the proximal and distal joints.

RING_METACARPAL

The base of the ring finger, connecting it to the hand.

RING_PROXIMAL

The first joint of the ring finger, closer to the palm.

RING_TIP

The tip of the ring finger.

THUMB_DISTAL

The third joint of the thumb, further from the palm.

THUMB_METACARPAL

The base of the thumb (the first joint connecting the thumb to the palm).

THUMB_PROXIMAL

The second joint of the thumb, closer to the palm.

THUMB_TIP

The tip of the thumb.

WRIST

The wrist joint, where the hand connects to the forearm.

Public functions

HandJointType
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<HandJointType>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

EnumEntries<HandJointType>

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Enum Values

INDEX_DISTAL

val HandJointType.INDEX_DISTAL: HandJointType

The third joint of the index finger, closest to the fingertip.

INDEX_INTERMEDIATE

val HandJointType.INDEX_INTERMEDIATE: HandJointType

The second joint of the index finger, between the proximal and distal joints.

INDEX_METACARPAL

val HandJointType.INDEX_METACARPAL: HandJointType

The base of the index finger, connecting it to the hand.

INDEX_PROXIMAL

val HandJointType.INDEX_PROXIMAL: HandJointType

The first joint of the index finger, closer to the palm.

INDEX_TIP

val HandJointType.INDEX_TIP: HandJointType

The tip of the index finger.

LITTLE_DISTAL

val HandJointType.LITTLE_DISTAL: HandJointType

The third joint of the little finger, closest to the fingertip.

LITTLE_INTERMEDIATE

val HandJointType.LITTLE_INTERMEDIATE: HandJointType

The second joint of the little finger, between the proximal and distal joints.

LITTLE_METACARPAL

val HandJointType.LITTLE_METACARPAL: HandJointType

The base of the little finger (pinky), connecting it to the hand.

LITTLE_PROXIMAL

val HandJointType.LITTLE_PROXIMAL: HandJointType

The first joint of the little finger, closer to the palm.

LITTLE_TIP

val HandJointType.LITTLE_TIP: HandJointType

The tip of the little finger (pinky).

MIDDLE_DISTAL

val HandJointType.MIDDLE_DISTAL: HandJointType

The third joint of the middle finger, closest to the fingertip.

MIDDLE_INTERMEDIATE

val HandJointType.MIDDLE_INTERMEDIATE: HandJointType

The second joint of the middle finger, between the proximal and distal joints.

MIDDLE_METACARPAL

val HandJointType.MIDDLE_METACARPAL: HandJointType

The base of the middle finger, connecting it to the hand.

MIDDLE_PROXIMAL

val HandJointType.MIDDLE_PROXIMAL: HandJointType

The first joint of the middle finger, closer to the palm.

MIDDLE_TIP

val HandJointType.MIDDLE_TIP: HandJointType

The tip of the middle finger.

PALM

val HandJointType.PALM: HandJointType

The center of the palm. Often used as a reference point for hand tracking.

RING_DISTAL

val HandJointType.RING_DISTAL: HandJointType

The third joint of the ring finger, closest to the fingertip.

RING_INTERMEDIATE

val HandJointType.RING_INTERMEDIATE: HandJointType

The second joint of the ring finger, between the proximal and distal joints.

RING_METACARPAL

val HandJointType.RING_METACARPAL: HandJointType

The base of the ring finger, connecting it to the hand.

RING_PROXIMAL

val HandJointType.RING_PROXIMAL: HandJointType

The first joint of the ring finger, closer to the palm.

RING_TIP

val HandJointType.RING_TIP: HandJointType

The tip of the ring finger.

THUMB_DISTAL

val HandJointType.THUMB_DISTAL: HandJointType

The third joint of the thumb, further from the palm.

THUMB_METACARPAL

val HandJointType.THUMB_METACARPAL: HandJointType

The base of the thumb (the first joint connecting the thumb to the palm).

THUMB_PROXIMAL

val HandJointType.THUMB_PROXIMAL: HandJointType

The second joint of the thumb, closer to the palm.

THUMB_TIP

val HandJointType.THUMB_TIP: HandJointType

The tip of the thumb.

WRIST

val HandJointType.WRIST: HandJointType

The wrist joint, where the hand connects to the forearm.

Public functions

valueOf

Added in 1.0.0-rc02
fun valueOf(value: String): HandJointType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.0.0-rc02
fun values(): Array<HandJointType>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

The function returns a new instance of the array on every call. The array could be mutated, so working with it may also require defensive copying. Consider using entries property as a more efficient alternative returning an immutable list of enum entries.

Public properties

entries

val entries: EnumEntries<HandJointType>

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.