public void handsGenerator_HandDestroy(object sender, HandDestroyEventArgs e) { Trace.WriteLine("Hand lost"); IsTracking = false; //gestureGenerator.AddGesture("Wave"); if (HandDestroy != null) { HandDestroy(this, e); } }
// 手の検出終了 void hands_HandDestroy(object sender, HandDestroyEventArgs e) { // 1.1.0.41 ではHandGenerator.StopTrackingでHandDestroyイベントが // 呼び出されるようで再帰になってしまう。 // そのためトラッキング停止状態でない場合のみ、トラッキング停止をする if (handStates != HandStatus.NoTracking) { handStates = HandStatus.NoTracking; handPoints.Clear(); // トラッキングの停止 hands.StopTracking(e.UserID); } }
void hands_HandDestroy(object sender, HandDestroyEventArgs e) { transform.position=new Vector3(xMedia,yMedia,zMedia); }
public void handsGenerator_HandDestroy(object sender, HandDestroyEventArgs e) { Trace.WriteLine("Hand lost"); gestureGenerator.AddGesture("Wave"); }
void hands_HandDestroy(object sender, HandDestroyEventArgs e) { Debug.Log("Mano destroy"); }
void handsGenerator_HandDestroy(object sender, HandDestroyEventArgs e) { // gesture generator? this.frame = 0; this.shouldDrawHands = false; //MessageBox.Show("Hand being destroyed."); history.Remove(e.UserID); if (history.Count == 0) { try { gestureGenerator.AddGesture("Wave"); this.gestureGenerator.AddGesture("Click"); } catch (StatusException ex) { ex.ToString(); } } }
void hands_HandDestroy(object sender, HandDestroyEventArgs e) { //Debug.Log("Mano destroy"); transform.position=new Vector3(xMedia,yMedia,zMedia); }
void hands_HandDestroy(object Sender, HandDestroyEventArgs e) { handId = -1; foreach (GameObject obj in new List<GameObject>(Listeners)) { if (!obj) continue; NotifyHandDestroy(obj); } OnSessionEnded(); this.gestures.StartGenerating(); }
void HandTracker_HandDestroy(object sender, HandDestroyEventArgs e) { lastHandDetectConfidence = 0; sensor.HandTracker.HandDestroy -= HandTracker_HandDestroy; }
void hands_HandDestroy(object sender,HandDestroyEventArgs e) { Debug.Log("Destroy"); tracking.Remove(e.UserID); }
void HandTracker_HandDestroy(object sender, HandDestroyEventArgs e) { Dispatcher.BeginInvoke((Action)delegate() { if (!handPoints.ContainsKey(e.UserID)) { return; } canvas.Children.Remove(handPoints[e.UserID]); }); }
void HandleHandsGeneratorHandDestroy(object sender, HandDestroyEventArgs e) { handExists = false; Debug.Log("Deleted Hand: " + e.UserID); //nOn.HUD.text = "Deleted Hand:" + e.UserID; nOn.handsGenerator.HandUpdate -= HandleHandsGeneratorHandUpdate; smoothedDefectsSize = 0f; }
void hands_HandDestroy(object sender, HandDestroyEventArgs e) { determinaCentro(); acomodaManoDerecha(); }