Пример #1
0
 public void DisableTracking(MotionControllerModel mc)
 {
     if (mc.Design)
     {
         return;
     }
     PsMoveApi.psmove_tracker_disable(_camera.Handle, mc.Handle);
     mc.Tracking[_camera]      = false;
     mc.TrackerStatus[_camera] = PSMoveTrackerStatus.NotCalibrated;
     ConsoleService.Write(string.Format("[Tracker, {0}] Tracking of Motion Controller ({1}) disabled.",
                                        _camera.GUID, mc.Serial));
 }