Exemplo n.º 1
0
        /// <summary>
        /// Stops capturing photos
        /// </summary>
        public void StopCapture()
        {
            Debug.Log("################### StopCapture!");
            capturing             = false;
            currentCaptureTimeout = 0;

#if WINDOWS_UWP
            holoLensCapture.StopCapture();
            OnMarkersDetected -= HologramOnARuco;
#else
            Debug.LogWarning("Capturing is not supported on this platform");
#endif
        }
Exemplo n.º 2
0
        /// <summary>
        /// Starts capturing photos
        /// </summary>
        public void StartCapture()
        {
            currentCaptureTimeout = CaptureTimeout;
#if WINDOWS_UWP
            if (!capturing)
            {
                holoLensCapture.StartCapture();
                OnMarkersDetected += HologramOnARuco;
            }
#else
            Debug.LogWarning("Capturing is not supported on this platform");
#endif
            capturing = true;
        }