class MAGES::Interaction::HandTrackingInteractor::HandModel

Overview

A class containing information regarding the master and puppet hand transforms. More…

class HandModel
{
public:
    // classes

    class BoneTransformMap;
    class FingerModel;

    // properties

    List<FingerModel> FingerModels;
    BoneTransformMap PalmModel;
    BoneTransformMap WristModel;

    // methods

    void Initialize(GameObject obj);
    void UpdateWrist();
    void UpdateFingers();
};

Detailed Documentation

A class containing information regarding the master and puppet hand transforms.

Properties

List<FingerModel> FingerModels

Gets or sets the list with all the FingerModels.

BoneTransformMap PalmModel

Gets or sets the palm BoneTransformMap.

BoneTransformMap WristModel

Gets or sets the wrist BoneTransformMap.

Methods

void Initialize(GameObject obj)

Initializes the values of a HandModel.

Parameters:

obj

The hand gameobject corresponding to this HandModel.

void UpdateWrist()

Syncs the master hand bone transforms to the corresponding puppet ones.

void UpdateFingers()

Syncs all the master finger bone transforms to the corresponding puppet ones.