ControlPoint
data class ControlPoint(val distance: Distance, @FloatRange(from = 0.0, to = 22.0) val zoom: Double, @FloatRange(from = 0.0, to = 90.0) val tilt: Double = DEFAULT_TILT, @FloatRange(from = 1.0, to = 150.0) val fov: Double = DEFAULT_FIELD_OF_VIEW)
Array of control points, each of which contains the camera configuration for a given distance to the next instruction on the route. Intermediate values are obtained by linear interpolation between the corresponding points.
The array must have at least one element and must be sorted in order of decreasing distance.
Note: This part of the configuration is only valid for the CameraTrackingMode.FollowRouteDirection camera operator.
Constructors
Link copied to clipboard
constructor(distance: Distance, @FloatRange(from = 0.0, to = 22.0) zoom: Double, @FloatRange(from = 0.0, to = 90.0) tilt: Double = DEFAULT_TILT, @FloatRange(from = 1.0, to = 150.0) fov: Double = DEFAULT_FIELD_OF_VIEW)