API Reference

Class List

XrJoint

Represents joint of a finger.

Summary

Properties

finger

Finger that joint relates to.

hand

Hand that joint relates to.

index

Index of a joint within a finger, starting from 0 (root of a finger) all the way to tip of the finger.

radius

The radius of a joint, which is a distance from joint to the edge of a skin

tip

True if joint is a tip of a finger

wrist

True if joint is a wrist.

Methods

getPosition

Get the world space position of a joint.

getRotation

Get the world space rotation of a joint.

Details

Properties

XrFinger, nullfinger

Finger that joint relates to.

XrHandhand

Hand that joint relates to.

numberindex

Index of a joint within a finger, starting from 0 (root of a finger) all the way to tip of the finger.

numberradius

The radius of a joint, which is a distance from joint to the edge of a skin

booleantip

True if joint is a tip of a finger

booleanwrist

True if joint is a wrist.

Methods

getPosition()

Get the world space position of a joint.

Returns

Vec3

The world space position of a joint.

getRotation()

Get the world space rotation of a joint.

Returns

Quat

The world space rotation of a joint.