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); }
/// <summary> /// Starts the camera /// </summary> public void StartCamera() { mWebCamImpl.StartCamera(); }