API reference

HandJointCache Class

Constructors

HandJointCache ( handSkeleton )
Signature
HandJointCache(IReadOnlyHandSkeleton handSkeleton)
Parameters
handSkeleton: IReadOnlyHandSkeleton

Properties

LocalDataVersion : int
[Get]
Signature
int LocalDataVersion

Methods

GetAllLocalPoses ( localJointPoses )
Signature
bool GetAllLocalPoses(out ReadOnlyHandJointPoses localJointPoses)
Parameters
localJointPoses: out ReadOnlyHandJointPoses
Returns
bool
GetAllPosesFromWrist ( jointPosesFromWrist )
Signature
bool GetAllPosesFromWrist(out ReadOnlyHandJointPoses jointPosesFromWrist)
Parameters
jointPosesFromWrist: out ReadOnlyHandJointPoses
Returns
bool
LocalJointPose ( jointid )
Signature
Pose LocalJointPose(HandJointId jointid)
Parameters
jointid: HandJointId
Returns
Pose
PoseFromWrist ( jointid )
Signature
Pose PoseFromWrist(HandJointId jointid)
Parameters
jointid: HandJointId
Returns
Pose
Update ( data , dataVersion )
Signature
void Update(HandDataAsset data, int dataVersion)
Parameters
dataVersion: int
Returns
void
WorldJointPose ( jointid , rootPose , handScale )
Signature
Pose WorldJointPose(HandJointId jointid, Pose rootPose, float handScale)
Parameters
jointid: HandJointId
rootPose: Pose
handScale: float
Returns
Pose