Data for the pose of a hand in space.
More...
|
Pose | ToPose (Transform relativeTo) |
| Gets the offset of the hand in relation to another transform. More...
|
|
HandPose | AdjustPose (Pose pose, Transform relativeTo) |
| Moves the hand so the grip alligns with a point in space. Note that this method moves the entire hand but does not modify the fingers. More...
|
|
Data for the pose of a hand in space.
◆ AdjustPose()
HandPose HandPosing.HandPose.AdjustPose |
( |
Pose |
pose, |
|
|
Transform |
relativeTo |
|
) |
| |
Moves the hand so the grip alligns with a point in space. Note that this method moves the entire hand but does not modify the fingers.
- Parameters
-
pose | The offset from the anchor transform at which to allign the grip of the hand. |
relativeTo | The anchor transform from which to measure the offset pose. |
- Returns
- A copy of the HandPose propery alligned.
◆ Lerp()
Interpolates between two HandPoses, if they have the same handeness and bones.
- Parameters
-
from | Base HandPose to interpolate from. |
to | Target HandPose to interpolate to. |
t | Interpolation factor, 0 for the base, 1 for the target. |
- Returns
- A new HandPose positioned/rotated between the base and target, null if the hands cannot be interpolated.
◆ ToPose()
Pose HandPosing.HandPose.ToPose |
( |
Transform |
relativeTo | ) |
|
Gets the offset of the hand in relation to another transform.
- Parameters
-
relativeTo | The transform from which to measure the offset. |
- Returns
- A Pose indicating the offset.
◆ handeness
◆ relativeGrip
Pose HandPosing.HandPose.relativeGrip |
Relative position/rotation of the grip point of the hand.
◆ Bones
List<BonePose> HandPosing.HandPose.Bones |
|
get |
Collection of bones and their rotations in this hand.
The documentation for this struct was generated from the following file:
- Runtime/HandPosing/HandPose.cs