CarCamera2d

class CarCamera2d : CarSurfaceLayer

Constructors

Link copied to clipboard
fun CarCamera2d()

Functions

Link copied to clipboard
open fun children(): List<MapboxCarMapObserver>

This allows you to create children listeners. Children are notified after the parent.

Link copied to clipboard
open override fun onAttached(mapboxCarMapSurface: MapboxCarMapSurface)
Link copied to clipboard
open override fun onDetached(mapboxCarMapSurface: MapboxCarMapSurface)
Link copied to clipboard
open override fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)
Link copied to clipboard
fun surfaceDimensions(): Pair<Int, Int>?

Properties

Link copied to clipboard
val edgeInsets: EdgeInsets? = null
Link copied to clipboard
val projM: FloatArray

Transformation matrix describes the projection orientation space.

Link copied to clipboard
val viewM: FloatArray

Transformation matrix describes the view orientation space.

Link copied to clipboard
val visibleArea: Rect? = null