CameraTransitionEnd

data class CameraTransitionEnd(val outcome: CameraTransitionOutcome, val generation: ULong, val velocity: CameraVelocity)

The end of a camera change.

See mln_camera_transition_end in the C API reference.

Constructors

Link copied to clipboard
constructor(outcome: CameraTransitionOutcome, generation: ULong, velocity: CameraVelocity)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:JvmName(name = "getGeneration")
val generation: ULong

The generation of the first map snapshot that shows where the change left the camera, or 0 when the map closed first.

Link copied to clipboard
Link copied to clipboard

How fast a gesture's momentum still moved when it was cancelled, which the next gesture can add to its own release velocities. Zero for every other end.