OpenCV for Unity 3.0.4
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.Extensions.SourceToMat.CameraDeviceInfo Struct Reference

Describes a camera device entry for device enumeration. More...

Public Member Functions

 CameraDeviceInfo (int index, string name)
 Initializes a new CameraDeviceInfo instance.
 
bool Equals (CameraDeviceInfo other)
 Returns a value indicating whether this instance equals another CameraDeviceInfo.
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
override string ToString ()
 Returns a string representation of this device entry.
 

Static Public Member Functions

static bool operator!= (CameraDeviceInfo left, CameraDeviceInfo right)
 Compares two CameraDeviceInfo values for inequality.
 
static bool operator== (CameraDeviceInfo left, CameraDeviceInfo right)
 Compares two CameraDeviceInfo values for equality.
 

Properties

int Index [get]
 Gets the device index.
 
string Name [get]
 Gets the device name.
 

Detailed Description

Describes a camera device entry for device enumeration.

Constructor & Destructor Documentation

◆ CameraDeviceInfo()

OpenCVForUnity.Extensions.SourceToMat.CameraDeviceInfo.CameraDeviceInfo ( int index,
string name )

Initializes a new CameraDeviceInfo instance.

Parameters
indexDevice index.
nameDevice name.

Member Function Documentation

◆ Equals() [1/2]

bool OpenCVForUnity.Extensions.SourceToMat.CameraDeviceInfo.Equals ( CameraDeviceInfo other)

Returns a value indicating whether this instance equals another CameraDeviceInfo.

Parameters
otherThe other instance.
Returns
true when both index and name match; otherwise false.

◆ Equals() [2/2]

override bool OpenCVForUnity.Extensions.SourceToMat.CameraDeviceInfo.Equals ( object obj)

◆ GetHashCode()

override int OpenCVForUnity.Extensions.SourceToMat.CameraDeviceInfo.GetHashCode ( )

◆ operator!=()

static bool OpenCVForUnity.Extensions.SourceToMat.CameraDeviceInfo.operator!= ( CameraDeviceInfo left,
CameraDeviceInfo right )
static

Compares two CameraDeviceInfo values for inequality.

◆ operator==()

static bool OpenCVForUnity.Extensions.SourceToMat.CameraDeviceInfo.operator== ( CameraDeviceInfo left,
CameraDeviceInfo right )
static

Compares two CameraDeviceInfo values for equality.

◆ ToString()

override string OpenCVForUnity.Extensions.SourceToMat.CameraDeviceInfo.ToString ( )

Returns a string representation of this device entry.

Returns
A string describing index and name.

Property Documentation

◆ Index

int OpenCVForUnity.Extensions.SourceToMat.CameraDeviceInfo.Index
get

Gets the device index.

◆ Name

string OpenCVForUnity.Extensions.SourceToMat.CameraDeviceInfo.Name
get

Gets the device name.


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