public void Read(BinaryReader reader) { JointType = (TJointType)reader.ReadInt32(); Position = new TSkeletonPoint(); Position.Read(reader); TrackingState = (TJointTrackingState)reader.ReadInt32(); }
public TJoint(Joint joint) { JointType = (TJointType)joint.JointType; Position = new TSkeletonPoint(joint.Position); TrackingState = (TJointTrackingState)joint.TrackingState; }