API reference
API reference
Select your platform
No SDKs available
No versions available

HandPose Class

Data for the pose of a hand for grabbing an object.
It contains not only the position of the hand and the fingers but other relevant data to the pose like the scale or which fingers are locked.
Even though this class is Serializable it is not a Component. The HandPoseEditor class should be used (in conjunction with the HandGrabInteractableEditor class) to edit the values in the inspector.

Properties

Handedness of the hand.
Collection of joints and their rotations in this hand.
It follows the FingersMetadata.HAND_JOINT_IDS convention
Indicates which fingers can be locked, constrained or free in this hand pose.
It follows the Hand.HandFinger order for the collection.

Member Functions

HandPose ( )
HandPose
( Handedness handedness )
HandPose
( HandPose other )
Copies the values over to the hand pose without requiring any new allocations.
This is thanks to the fact of the fingers freedom and joints rotations collections being always fixed size and order.
Parameters
from
The hand pose to copy the values from
mirrorHandedness
Invert the received handedness

Static Member Functions

Interpolates between two HandPoses, if they have the same handedness and joints.
Parameters
from
Base HandPose to interpolate from.
to
Target HandPose to interpolate to.
t
Interpolation factor, 0 for the base, 1 for the target.
result
A HandPose positioned/rotated between the base and target.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon