OpenCV for Unity 3.0.5
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.VideoioModule.VideoDeviceInfo Class Reference

Camera device reported by a videoio backend. More...

Public Member Functions

 VideoDeviceInfo ()
 
int get_backend ()
 
int get_cam_idx ()
 
string get_cam_name ()
 
IntPtr getNativeObjAddr ()
 
void set_backend (int backend)
 
void set_cam_idx (int cam_idx)
 
void set_cam_name (string cam_name)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 Releases resources used by this object.
 
void ThrowIfDisposed ()
 Throws ObjectDisposedException if this object has been disposed.
 

Static Public Member Functions

static VideoDeviceInfo __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 Returns the native pointer, or throws CoreModule.CvException if it is zero.
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 Initializes a new instance with a zero native pointer and dispose enabled.
 
 DisposableOpenCVObject (bool isEnabledDispose)
 Initializes a new instance with a zero native pointer.
 
 DisposableOpenCVObject (IntPtr ptr)
 Initializes a new instance with the specified native pointer and dispose enabled.
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 Initializes a new instance with the specified native pointer.
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 Initializes a new instance with dispose enabled.
 
 DisposableObject (bool isEnabledDispose)
 Initializes a new instance.
 

Additional Inherited Members

- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Camera device reported by a videoio backend.

Constructor & Destructor Documentation

◆ VideoDeviceInfo()

OpenCVForUnity.VideoioModule.VideoDeviceInfo.VideoDeviceInfo ( )

Member Function Documentation

◆ __fromPtr__()

static VideoDeviceInfo OpenCVForUnity.VideoioModule.VideoDeviceInfo.__fromPtr__ ( IntPtr addr)
static

◆ Dispose()

override void OpenCVForUnity.VideoioModule.VideoDeviceInfo.Dispose ( bool disposing)
protectedvirtual

◆ get_backend()

int OpenCVForUnity.VideoioModule.VideoDeviceInfo.get_backend ( )

◆ get_cam_idx()

int OpenCVForUnity.VideoioModule.VideoDeviceInfo.get_cam_idx ( )

◆ get_cam_name()

string OpenCVForUnity.VideoioModule.VideoDeviceInfo.get_cam_name ( )

◆ getNativeObjAddr()

IntPtr OpenCVForUnity.VideoioModule.VideoDeviceInfo.getNativeObjAddr ( )

◆ set_backend()

void OpenCVForUnity.VideoioModule.VideoDeviceInfo.set_backend ( int backend)

◆ set_cam_idx()

void OpenCVForUnity.VideoioModule.VideoDeviceInfo.set_cam_idx ( int cam_idx)

◆ set_cam_name()

void OpenCVForUnity.VideoioModule.VideoDeviceInfo.set_cam_name ( string cam_name)

The documentation for this class was generated from the following file: