ICamera
public interface ICamera
Represents Camera.
Methods
Method | Description |
---|---|
getCameraType() | Camera type Read/write CameraPresetType. |
setCameraType(int value) | Camera type Read/write CameraPresetType. |
getFieldOfViewAngle() | Camera FOV (0-180 deg, field of View) Read/write float. |
setFieldOfViewAngle(float value) | Camera FOV (0-180 deg, field of View) Read/write float. |
getZoom() | Camera zoom (positive value in percentage) Read/write float. |
setZoom(float value) | Camera zoom (positive value in percentage) Read/write float. |
setRotation(float latitude, float longitude, float revolution) | 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. |
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. |
getCameraType()
public abstract int getCameraType()
Camera type Read/write CameraPresetType.
Returns: int
setCameraType(int value)
public abstract void setCameraType(int value)
Camera type Read/write CameraPresetType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getFieldOfViewAngle()
public abstract float getFieldOfViewAngle()
Camera FOV (0-180 deg, field of View) Read/write float.
Returns: float
setFieldOfViewAngle(float value)
public abstract void setFieldOfViewAngle(float value)
Camera FOV (0-180 deg, field of View) Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getZoom()
public abstract float getZoom()
Camera zoom (positive value in percentage) Read/write float.
Returns: float
setZoom(float value)
public abstract void setZoom(float value)
Camera zoom (positive value in percentage) Read/write float.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
setRotation(float latitude, float longitude, float revolution)
public abstract void setRotation(float latitude, float longitude, float revolution)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
latitude | float | Latitude value float |
longitude | float | |
revolution | float |
getRotation()
public abstract float[] 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[] - Array of rotation values as float[].