|
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.
|
Describes a supported camera resolution mode. More...
Public Member Functions | |
| CameraResolution (int width, int height, float fps) | |
| Initializes a new CameraResolution instance. | |
| bool | Equals (CameraResolution other) |
| Returns a value indicating whether this instance equals another CameraResolution. | |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
| override string | ToString () |
| Returns a string representation of this resolution mode. | |
Static Public Member Functions | |
| static bool | operator!= (CameraResolution left, CameraResolution right) |
| Compares two CameraResolution values for inequality. | |
| static bool | operator== (CameraResolution left, CameraResolution right) |
| Compares two CameraResolution values for equality. | |
Properties | |
| float | FPS [get] |
| Gets the mode frame rate in Hz. Values less than or equal to zero mean unspecified or unknown. | |
| int | Height [get] |
| Gets the frame height in pixels. | |
| int | Width [get] |
| Gets the frame width in pixels. | |
Describes a supported camera resolution mode.
| OpenCVForUnity.Extensions.SourceToMat.CameraResolution.CameraResolution | ( | int | width, |
| int | height, | ||
| float | fps ) |
Initializes a new CameraResolution instance.
| width | Frame width in pixels. |
| height | Frame height in pixels. |
| fps | Mode frame rate in Hz. Use zero or negative for unspecified. |
| bool OpenCVForUnity.Extensions.SourceToMat.CameraResolution.Equals | ( | CameraResolution | other | ) |
Returns a value indicating whether this instance equals another CameraResolution.
| other | The other instance. |
true when width, height, and FPS match; otherwise false.| override bool OpenCVForUnity.Extensions.SourceToMat.CameraResolution.Equals | ( | object | obj | ) |
| override int OpenCVForUnity.Extensions.SourceToMat.CameraResolution.GetHashCode | ( | ) |
|
static |
Compares two CameraResolution values for inequality.
|
static |
Compares two CameraResolution values for equality.
| override string OpenCVForUnity.Extensions.SourceToMat.CameraResolution.ToString | ( | ) |
Returns a string representation of this resolution mode.
|
get |
Gets the mode frame rate in Hz. Values less than or equal to zero mean unspecified or unknown.
|
get |
Gets the frame height in pixels.
|
get |
Gets the frame width in pixels.