ICameraEffectiveData

public interface ICameraEffectiveData

Immutable object which contains effective camera properties.


This interface is used as a part of IThreeDFormatEffectiveData.

Methods

Method Description
getCameraType() Camera type.
getFieldOfViewAngle() Camera FOV (0-180 deg, field of View).
getZoom() Camera zoom (positive value in percentage).
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-only CameraPresetType.

Returns: int

getFieldOfViewAngle()

public abstract float getFieldOfViewAngle()

Camera FOV (0-180 deg, field of View). Read-only float.

Returns: float

getZoom()

public abstract float getZoom()

Camera zoom (positive value in percentage). Read-only float.

Returns: 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[].