void selectableSlider_PrimaryPointCreate(ref xnv.HandPointContext context, ref xn.Point3D ptFocus) { this.SliderArea.BackColor = Color.Red; }
void selectableSlider_ItemSelect(int index, xnv.Direction dir) { if (dir == xnv.Direction.Up) { this.flowRouter.SetActive(this.boxes[index]); } }
void pointControl_PointCreate(ref xnv.HandPointContext context) { handPoints.Add (context); }
void pointControl_PrimaryPointReplace(uint nID, ref xnv.HandPointContext context) { primaryHand = context; }
void pointControl_PrimaryPointCreate(ref xnv.HandPointContext context, ref xn.Point3D pnt) { primaryHand = context; }
void pointControl_PointUpdate(ref xnv.HandPointContext context) { foreach (xnv.HandPointContext hpc in handPoints) { if (hpc.nID == context.nID) { handPoints[handPoints.IndexOf(hpc)] = context; } } /*string sendData = "Pos(" + context.ptPosition.X.ToString () + ", " + context.ptPosition.Y.ToString () + ", " + context.ptPosition.Z.ToString () + ") " + "nID: " + context.nID.ToString () + " nUserID: " + context.nUserID.ToString (); Console.Out.WriteLine ("PointUpdate: " + sendData);*/ }