Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Opens a camera by camera device type. If no camera is matched, the first camera will be used.
///</summary>
Opens a camera by camera device type. If no camera is matched, the first camera will be used.
Opens a camera by camera device type . If no camera is matched the first camera will be used .
public virtual bool openWithPreferredType(CameraDeviceType type)
        {
            using (var ar = new Detail.AutoRelease())
            {
                var _return_value_ = Detail.easyar_CameraDevice_openWithPreferredType(cdata, type);
                return _return_value_;
            }
        }
public virtual bool openWithPreferredType ( CameraDeviceType type ) { using ( var ar = new Detail . AutoRelease ( ) ) { var _return_value_ = Detail . easyar_CameraDevice_openWithPreferredType ( cdata , type ) ; return _return_value_ ; } }
Opens a camera by camera device type.
Opens a camera by camera device type .
type
CameraDeviceType