PoseData
Description
Used to save transform and finger rotation data of the current preview hand while the hand is being posed so you can save it as a scriptable object later. Also used to get pose info from the targeted custom hand pose. Implemented by PoseDataRuntime.
Public properties
Vector3 PosePosition
Quaternion PoseRotation
List<Quaternion> FingerRotations
Public methods
void Save(PreviewHand hand)
saves the pose data from the current preview hand to this component
this method is used from the editor (apply button) to temporarily store data of a preview hand which is currently being posed before actually saving the pose to your project folder
void GetPoseData(CustomHandPose customHandPose)
gets the transform and finger rotation from the given pose and applies the data to this component
this method is used in runtime to actually apply the hand pose when an interaction is achieved
Last updated