public Skeleton ToNetworkModel() { Skeleton s = new Skeleton(); s.UserId = UserId; s.BodyLocation = BodyLocation.ToCoord(); s.BodyRotation = BodyRotation.ToCoord(); s.Head = Head.ToCoord(); s.Neck = Neck.ToCoord(); s.Spine = Spine.ToCoord(); s.Hips = Hips.ToCoord(); s.LeftShoulder = LeftShoulder.ToCoord(); s.LeftArm = LeftArm.ToCoord(); s.LeftHand = LeftHand.ToCoord(); s.RightShoulder = RightShoulder.ToCoord(); s.RightArm = RightArm.ToCoord(); s.RightHand = RightHand.ToCoord(); s.LeftKnee = LeftKnee.ToCoord(); s.LeftFoot = LeftFoot.ToCoord(); s.RightKnee = RightKnee.ToCoord(); s.RightFoot = RightFoot.ToCoord(); return(s); }