Exemplo n.º 1
0
    private int StartCameraDevice()
    {
        int rslt = 0;

        if (mWebCam != null)
        {
            mWebCam.StartCamera();
            rslt = 1;
        }

        QCARWrapper.Instance.CameraDeviceStartCamera();

        return(rslt);
    }
    private int StartCameraDevice()
    {
        if (!QCARRuntimeUtilities.IsPlayMode())
        {
            return(QCARWrapper.Instance.CameraDeviceStartCamera());
        }
        int num = 0;

        if (mWebCam != null)
        {
            mWebCam.StartCamera();
            num = 1;
        }
        QCARWrapper.Instance.CameraDeviceStartCamera();
        return(num);
    }
Exemplo n.º 3
0
 /// <summary>
 /// Starts the camera
 /// </summary>
 public void StartCamera()
 {
     mWebCamImpl.StartCamera();
 }