GetSkeletonJointPosition() public method

public GetSkeletonJointPosition ( UInt32 user, SkeletonJoint eJoint, SkeletonJointPosition &joint ) : void
user System.UInt32
eJoint SkeletonJoint
joint SkeletonJointPosition
return void
Example #1
0
 private static SkeletonJointPosition Joint(SkeletonCapability skeletonCapability, DepthGenerator depthGenerator, uint user, SkeletonJoint joint)
 {
     var pos = new SkeletonJointPosition();
     skeletonCapability.GetSkeletonJointPosition(user, joint, ref pos);
     if (pos.position.Z == 0)
     {
         pos.fConfidence = 0;
     }
     else
     {
         pos.position = depthGenerator.ConvertRealWorldToProjective(pos.position);
     }
     return pos;
 }