예제 #1
0
 private int getIdSensor(KinectSensor s)
 {
     for (int i = 0; i < sensors.Count; i++)
     {
         if (s.Equals(sensors[i]))
             return i;
     }
     return -1;
 }