ICamera

ICamera interface

Represents Camera.

public interface ICamera

Properties

NameDescription
CameraType { get; set; }Camera type Read/write CameraPresetType.
FieldOfViewAngle { get; set; }Camera FOV (0-180 deg, field of View) Read/write Single.
Zoom { get; set; }Camera zoom (positive value in percentage) Read/write Single.

Methods

NameDescription
GetRotation()A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. first element in return array - latitude, second - longitude, third - revolution. Returns null if no rotation defined.
SetRotation(float, float, float)A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. If any of coordinate value is float.NaN, all rotation is undefined.

See Also