VMECameraUpdate

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
constructor(builder: VMECameraUpdateBuilder)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Used to build a VMECameraUpdate object.

Link copied to clipboard

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

The heading to be applied to the camera.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

A list of targets for the camera to focus on.

Link copied to clipboard

The view mode to apply to the scene.

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