Class CameraParameter
- Namespace
- KartaViewSharp.V2.Response.Shared
- Assembly
- KartaViewSharp.dll
[JsonSerializable(typeof(CameraParameter), GenerationMode = JsonSourceGenerationMode.Metadata)]
public sealed class CameraParameter : IEquatable<CameraParameter>
- Inheritance
-
CameraParameter
- Implements
- Inherited Members
Properties
Aperture
Aperture of the device, an opening through which light travels. The aperture and focal length of an optical system determine the cone angle of a bundle of rays that come to a focus in the image plane.
[JsonPropertyName("aperture")]
public double? Aperture { get; set; }
Property Value
FLen
The focal length of an optical system that measures how strongly the system converges or diverges light.
[JsonPropertyName("fLen")]
public double? FLen { get; set; }
Property Value
FNumber
Precentage where f is the focal length, and D is the diameter of the entrance pupil.
[JsonPropertyName("fNumber")]
public double? FNumber { get; set; }
Property Value
HFov
Field of view in degrees. If field of view is unknown, a value of 0 is returned.
[JsonPropertyName("hFoV")]
public double? HFov { get; set; }
Property Value
Height
[JsonPropertyName("height")]
public int? Height { get; set; }
Property Value
- int?
VFov
Field of view in degrees. If field of view is unknown, a value of 0 is returned.
[JsonPropertyName("vFoV")]
public double? VFov { get; set; }
Property Value
VZf
A value that controls the cropping and enlargement of images captured by the device. For example, a value of 2.0 doubles the size of an image’s subject (and halves the field of view).
[JsonPropertyName("vZF")]
public double? VZf { get; set; }
Property Value
Width
[JsonPropertyName("width")]
public int? Width { get; set; }
Property Value
- int?
Methods
Equals(CameraParameter?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(CameraParameter? other)
Parameters
otherCameraParameterAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.