A static (non-user controller) representation of a hand. This script is used to be able to manually visualize and modify hand poses.
More...
|
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...
|
|
|
System.Action | OnDirtyBones |
| Called everytime the transforms or the fingers are manually moved, so the data can be updated. More...
|
|
A static (non-user controller) representation of a hand. This script is used to be able to manually visualize and modify hand poses.
◆ ReadPose()
HandPose HandPosing.SnapRecording.HandGhost.ReadPose |
( |
Transform |
relativeTo | ) |
|
Relay that extracts the current static pose of the hand in the desired coordinates system
- Parameters
-
relativeTo | The 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
-
userPose | The static pose for the hand |
relativeTo | The relative coordinates for the hand position/rotation |
◆ 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:
- Runtime/SnapRecording/HandGhost.cs