HandPosing
A tool for quickly authoring hand poses to objects in VR using hand-tracking
HandPosing.BonePose Struct Reference

Data indicating the rotation of a bone from a hand. More...

Static Public Member Functions

static ? BonePose Lerp (BonePose from, BonePose to, float t)
 Gets the interpolated value between two rotations of the same bone (same indentifier). More...
 

Public Attributes

BoneId boneID
 The unique identifier of the bone. More...
 
Quaternion rotation
 The rotation of the bone in the hand. More...
 
Vector3 position
 The position of the bone in the hand. More...
 

Detailed Description

Data indicating the rotation of a bone from a hand.

Member Function Documentation

◆ Lerp()

static ? BonePose HandPosing.BonePose.Lerp ( BonePose  from,
BonePose  to,
float  t 
)
static

Gets the interpolated value between two rotations of the same bone (same indentifier).

Parameters
fromBase rotation to interpolate from.
toTarget rotation to interpolate to.
tInterpolation factor, 0 for base, 1 for target rotation
Returns
A new BonePose between base and target, null if bone is invalid.

Member Data Documentation

◆ boneID

BoneId HandPosing.BonePose.boneID

The unique identifier of the bone.

◆ position

Vector3 HandPosing.BonePose.position

The position of the bone in the hand.

◆ rotation

Quaternion HandPosing.BonePose.rotation

The rotation of the bone in the hand.


The documentation for this struct was generated from the following file: