Camera
Camera class
Represents Camera.
getCameraType
Name | Description |
---|---|
getCameraType () | Camera type. Read/write CameraPresetType. |
Returns: int
getFieldOfViewAngle
Name | Description |
---|---|
getFieldOfViewAngle () | Camera FOV (0-180 deg, field of View). Read/write float. |
Returns: float
getRotation
Name | Description |
---|---|
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
Name | Description |
---|---|
getVersion () |
Returns: long
getZoom
Name | Description |
---|---|
getZoom () | Camera zoom (positive value in percentage). Read/write float. |
Returns: float
setCameraType
Name | Description |
---|---|
setCameraType (int) | Camera type. Read/write CameraPresetType. |
Returns: void
setFieldOfViewAngle
Name | Description |
---|---|
setFieldOfViewAngle (float) | Camera FOV (0-180 deg, field of View). Read/write float. |
Returns: void
setRotation
Name | Description |
---|---|
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
Name | Description |
---|---|
setZoom (float) | Camera zoom (positive value in percentage). Read/write float. |
Returns: void