public override void ResetDetection() { base.ResetDetection(); queueRunner = null; for (int i = 0; i < detectors.Count; i++) { BaseStereoProjectionDetector detector = detectors[i]; detector.ResetDetection(); } }
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); }
public void AddDetector(BaseStereoProjectionDetector detector) { detectors.Add(detector); }