コード例 #1
0
        public override void ResetDetection()
        {
            base.ResetDetection();
            queueRunner = null;

            for (int i = 0; i < detectors.Count; i++)
            {
                BaseStereoProjectionDetector detector = detectors[i];
                detector.ResetDetection();
            }
        }
コード例 #2
0
            public void TryNextDetector()
            {
                if (currentIndex >= queue.detectors.Count)
                {
                    queue.CompleteDetection(null);
                    return;
                }

                BaseStereoProjectionDetector detector = queue.detectors[currentIndex];

        #if DEBUG_PROJECTION_DETECTOR_QUEUE
                Debug.Log("Attempting to detect Stereo Projection Format with " + detector);
        #endif
                detector.Detect(OnFormatDetected);
            }
コード例 #3
0
 public void AddDetector(BaseStereoProjectionDetector detector)
 {
     detectors.Add(detector);
 }