CarScene2d

class CarScene2d : CarSurfaceLayer

Functions

children
Link copied to clipboard
open override fun children(): List<CarSurfaceLayer>
This allows you to create children listeners.
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onAttached
Link copied to clipboard
open override fun onAttached(mapboxCarMapSurface: MapboxCarMapSurface)
onDetached
Link copied to clipboard
open override fun onDetached(mapboxCarMapSurface: MapboxCarMapSurface)
onVisibleAreaChanged
Link copied to clipboard
open override fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)
surfaceDimensions
Link copied to clipboard
fun surfaceDimensions(): Pair<Int, Int>?
toString
Link copied to clipboard
open fun toString(): String

Properties

camera
Link copied to clipboard
val camera: CarCamera2d
edgeInsets
Link copied to clipboard
var edgeInsets: EdgeInsets? = null
model
Link copied to clipboard
val model: CarTextModel2d
mvpMatrix
Link copied to clipboard
val mvpMatrix: FloatArray
visibleArea
Link copied to clipboard
var visibleArea: Rect? = null