Kinect.KinectManager.GetParentJoint C# (CSharp) Method

GetParentJoint() public method

Gets the parent joint of the given joint.
public GetParentJoint ( KinectInterop joint ) : KinectInterop.JointType
joint KinectInterop Joint.
return KinectInterop.JointType
        public KinectInterop.JointType GetParentJoint(KinectInterop.JointType joint)
        {
            if (sensorData != null && sensorData.sensorInterface != null)
            {
                return sensorData.sensorInterface.GetParentJoint(joint);
            }

            // fall back - return the same joint (i.e. end-joint)
            return joint;
        }
KinectManager