VisioMove Essential (iOS)  1.27.8
VMECameraDistanceRange Class Reference

Description

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.

Example
VMECameraUpdate* lUpdate = [VMECameraUpdate cameraUpdateWithBuilderBlock:^(VMECameraUpdateBuilder *builder) {
builder.distanceRange = [VMECameraDistanceRange cameraDistanceRangeMinAltitude:100 andMaxAltitude:100];
}];
VMECameraDistanceRange represents a distance element that may be associated with a VMECameraUpdate ob...
Definition: VMECameraDistanceRange.h:30
VMECameraDistanceRange * distanceRange
The distance range of the camera.
Definition: VMECameraUpdate.h:137
Used to build a VMECameraUpdate object.
Definition: VMECameraUpdateBuilder.h:21
Represents a camera update that can be applied to the VMEMapView.
Definition: VMECameraUpdate.h:29
Note
In the above example, the camera will keep its altitude = 100 until another VMECameraUpdate is set with a new VMECameraDistanceRange.

The VMECameraDistanceRange object is immutable.

Version
1.18

Inherits <NSObject>, and <NSCopying>.

Class Methods

(instancetype) + cameraDistanceCurrentAltitudeRange
 Keep the camera's current altitude range. More...
 
(instancetype) + cameraDistanceDefaultAltitudeRange
 Use the default altitude range. More...
 
(instancetype) + cameraDistanceRangeMinRadius:andMaxRadius:
 Use the radius to control the distance of the camera. More...
 
(instancetype) + cameraDistanceRangeMinAltitude:andMaxAltitude:
 Use the altitude to control the distance of the camera. More...
 
© 2022 Copyright Visioglobe, All Rights Reserved. View our Privacy Policy