/// <summary>
        /// Raises the webcam texture to mat helper error occurred event.
        /// </summary>
        /// <param name="errorCode">Error code.</param>
        public void OnWebCamTextureToMatHelperErrorOccurred(WebCamTextureToMatHelper.ErrorCode errorCode)
        {
            Debug.Log("OnWebCamTextureToMatHelperErrorOccurred " + errorCode);

            if (bgrMat != null)
            {
                bgrMat.Dispose();
            }
        }
        /// <summary>
        /// Raises the webcam texture to mat helper error occurred event.
        /// </summary>
        /// <param name="errorCode">Error code.</param>
        public void OnWebCamTextureToMatHelperErrorOccurred(WebCamTextureToMatHelper.ErrorCode errorCode)
        {
            Debug.Log("OnWebCamTextureToMatHelperErrorOccurred " + errorCode);

            if (fpsMonitor != null)
            {
                fpsMonitor.consoleText = "ErrorCode: " + errorCode;
            }
        }
예제 #3
0
 /// <summary>
 /// Raises the web cam texture to mat helper error occurred event.
 /// </summary>
 /// <param name="errorCode">Error code.</param>
 public void OnWebCamTextureToMatHelperErrorOccurred(WebCamTextureToMatHelper.ErrorCode errorCode)
 {
     Debug.Log("OnWebCamTextureToMatHelperErrorOccurred " + errorCode);
 }
예제 #4
0
 public void OnWebCamTextureToMatHelperErrorOccurred(WebCamTextureToMatHelper.ErrorCode errorCode)
 {
     _toMatHelperMgr.OnWebCamTextureToMatHelperErrorOccurred(errorCode);
 }