VMECameraUpdate

data class VMECameraUpdate(builder: VMECameraUpdateBuilder)

Represents a camera update that can be applied to the VMEMapView.

An immutable class that aggregates all camera update parameters such as targets, padding, min/max altitude, and heading.

Use the provided constructors to instantiate different types of camera updates. A camera update will update the camera's viewpoint and if necessary will also update the scene so that the viewpoint is focused on the correct building/floor.

Since

1.19

Constructors

Link copied to clipboard
fun VMECameraUpdate(builder: VMECameraUpdateBuilder)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compare current VMECameraUpdate with another.

Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard
var builder: VMECameraUpdateBuilder

Used to build a VMECameraUpdate object.

Link copied to clipboard
var distanceRange: VMECameraDistanceRange

The distance range of the camera. The min altitude can't be lower than the min altitude set in VisioMapEditor. Reciprocally max altitude can't be higher than the max altitude set in VisioMapEditor.

Link copied to clipboard
val heading: VMECameraHeading

The heading to be applied to the camera.

Link copied to clipboard
val paddingBottom: Int

The padding height (in pixels) between the view's bottom edge and the camera's bounding box.

Link copied to clipboard
val paddingLeft: Int

The padding width (in pixels) between the view's left edge and the camera's bounding box.

Link copied to clipboard
val paddingRight: Int

The padding width (in pixels) between the view's right edge and the camera's bounding box.

Link copied to clipboard
val paddingTop: Int

The padding height (in pixels) between the view's top edge and the camera's bounding box.

Link copied to clipboard
val pitch: VMECameraPitch

The pitch for the camera. Default is -55 and should always be between 0..-89. 0 face the sky, -89 is vertical view facing the map

Link copied to clipboard
val targets: List<Any>

A list of targets for the camera to focus on.

Link copied to clipboard
val viewMode: VMEViewMode

The view mode to apply to the scene.