VisioMove Essential (Android)  1.25.2
VMECameraDistanceRange Class Reference


VMECameraDistanceRange represents a distance element that may be associated with a VMECameraUpdate object.

It encapsulates some logic for controlling the distance of the camera. It should only be constructed using the factory helper methods below.

The camera will use the previously specified camera distance range when it's not specified in the camera update.

VMECameraUpdate lUpdate = new VMECameraUpdateBuilder()
In the above example, the camera will keep its altitude = 100 until another VMECameraUpdate is set with a new VMECameraDistanceRange.

Static Public Member Functions

static VMECameraDistanceRange newCurrentAltitudeRange ()
 Keep the camera's current altitude range. More...
static VMECameraDistanceRange newRadiusRange (double minRadius, double maxRadius)
 Use the radius to control the distance of the camera. More...
static VMECameraDistanceRange newDefaultAltitudeRange ()
 Use the default altitude range. More...
static VMECameraDistanceRange newAltitudeRange (double minAltitude, double maxAltitude)
 Use the camera altitude to control the distance of the camera. More...
Visioglobe® 2015-2021