Camera

Camera class

Represents Camera.

getCameraType

NameDescription
getCameraType ()Camera type. Read/write CameraPresetType.

Returns: int


getFieldOfViewAngle

NameDescription
getFieldOfViewAngle ()Camera FOV (0-180 deg, field of View). Read/write float.

Returns: float


getRotation

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.

Returns: float


getVersion

NameDescription
getVersion ()

Returns: long


getZoom

NameDescription
getZoom ()Camera zoom (positive value in percentage). Read/write float.

Returns: float


setCameraType

NameDescription
setCameraType (int)Camera type. Read/write CameraPresetType.

Returns: void


setFieldOfViewAngle

NameDescription
setFieldOfViewAngle (float)Camera FOV (0-180 deg, field of View). Read/write float.

Returns: void


setRotation

NameDescription
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.

Returns: void


setZoom

NameDescription
setZoom (float)Camera zoom (positive value in percentage). Read/write float.

Returns: void