CarScene2d

class CarScene2d : CarSurfaceLayer

Constructors

Link copied to clipboard
fun CarScene2d()

Functions

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

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 fun onStableAreaChanged(@NonNull p0: Rect, @NonNull p1: EdgeInsets)
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 camera: CarCamera2d
Link copied to clipboard
val edgeInsets: EdgeInsets? = null
Link copied to clipboard
val model: CarTextModel2d
Link copied to clipboard
val mvpMatrix: FloatArray
Link copied to clipboard
val visibleArea: Rect? = null