HandPosing
A tool for quickly authoring hand poses to objects in VR using hand-tracking
HandPosing.SnapRecording.HandGhost Class Reference

A static (non-user controller) representation of a hand. This script is used to be able to manually visualize and modify hand poses. More...

Inheritance diagram for HandPosing.SnapRecording.HandGhost:

Public Member Functions

void SetPose (HandPose userPose, Transform relativeTo)
 Relay to the Puppet to set the ghost hand to the desired static pose More...
 
HandPose ReadPose (Transform relativeTo)
 Relay that extracts the current static pose of the hand in the desired coordinates system More...
 

Public Attributes

System.Action OnDirtyBones
 Called everytime the transforms or the fingers are manually moved, so the data can be updated. More...
 

Detailed Description

A static (non-user controller) representation of a hand. This script is used to be able to manually visualize and modify hand poses.

Member Function Documentation

◆ ReadPose()

HandPose HandPosing.SnapRecording.HandGhost.ReadPose ( Transform  relativeTo)

Relay that extracts the current static pose of the hand in the desired coordinates system

Parameters
relativeToThe object in which coordinates to represent the pose
Returns
The current static-pose of the ghost hand

◆ SetPose()

void HandPosing.SnapRecording.HandGhost.SetPose ( HandPose  userPose,
Transform  relativeTo 
)

Relay to the Puppet to set the ghost hand to the desired static pose

Parameters
userPoseThe static pose for the hand
relativeToThe relative coordinates for the hand position/rotation

Member Data Documentation

◆ OnDirtyBones

System.Action HandPosing.SnapRecording.HandGhost.OnDirtyBones

Called everytime the transforms or the fingers are manually moved, so the data can be updated.


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