HandPose
()
|
Signature
Oculus.Interaction.HandGrab.HandPose.HandPose() |
HandPose
(
handedness
)
|
Signature
Oculus.Interaction.HandGrab.HandPose.HandPose(Handedness handedness) Parameters handedness: Handedness |
HandPose
(
other
)
|
Signature
Oculus.Interaction.HandGrab.HandPose.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 [] Oculus.Interaction.HandGrab.HandPose.FingersFreedom |
Handedness
: Handedness
[Get][Set] |
Handedness of the hand.
Signature
Handedness Oculus.Interaction.HandGrab.HandPose.Handedness |
JointRotations
: Quaternion[]
[Get][Set] |
Collection of joints and their rotations in this hand.
It follows the FingersMetadata.HAND_JOINT_IDS convention
Signature
Quaternion [] Oculus.Interaction.HandGrab.HandPose.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 Oculus.Interaction.HandGrab.HandPose.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 Oculus.Interaction.HandGrab.HandPose.Lerp(in HandPose from, in HandPose to, float t, ref HandPose result) Parameters Returns void |