HandPose
()
|
Signature
HandPose() |
HandPose
(
handedness
)
|
Signature
HandPose(Handedness handedness) Parameters handedness: Handedness |
HandPose
(
other
)
|
Signature
HandPose(HandPose other) Parameters other: HandPose |
FingersFreedom
: JointFreedom[]
[Get] |
Indicates which fingers can be locked, constrained or free in this hand pose.
It follows the Hand.HandFinger order for the collection.
Signature
JointFreedom [] FingersFreedom |
Handedness
: Handedness
[Get][Set] |
Handedness of the hand.
Signature
Handedness Handedness |
JointRotations
: Quaternion[]
[Get][Set] |
Collection of joints and their rotations in this hand.
It follows the FingersMetadata.HAND_JOINT_IDS convention
Signature
Quaternion [] JointRotations |
CopyFrom
(
from
, mirrorHandedness
)
|
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.
Signature
void CopyFrom(HandPose from, bool mirrorHandedness=false) Parameters mirrorHandedness: boolÂ
Invert the received handedness
Returns void |
Lerp
(
from
, to
, t
, result
)
|
Interpolates between two HandPoses, if they have the same handedness and joints.
Signature
static void Lerp(in HandPose from, in HandPose to, float t, ref HandPose result) Parameters Returns void |