Assets/EasyAR/Scripts/csapi.cs
///<summary>
///Creates `CameraDevice`_ with a specified preference.
///</summary>
Creates `CameraDevice`_ with a specified preference.
Creates ` CameraDevice ` _ with a specified preference .
public static CameraDevice createCameraDevice(CameraDevicePreference preference)
        {
            using (var ar = new Detail.AutoRelease())
            {
                var _return_value_ = default(IntPtr);
                Detail.easyar_CameraDeviceSelector_createCameraDevice(preference, out _return_value_);
                return Detail.Object_from_c<CameraDevice>(_return_value_, Detail.easyar_CameraDevice__typeName);
            }
        }
public static CameraDevice createCameraDevice ( CameraDevicePreference preference ) { using ( var ar = new Detail . AutoRelease ( ) ) { var _return_value_ = default ( IntPtr ) ; Detail . easyar_CameraDeviceSelector_createCameraDevice ( preference , out _return_value_ ) ; return Detail . Object_from_c < CameraDevice > ( _return_value_ , Detail . easyar_CameraDevice__typeName ) ; } }
Creates `CameraDevice`_ with a specified preference.
Creates ` CameraDevice ` _ with a specified preference .
preference
CameraDevicePreference