CarTextModel2d

class CarTextModel2d : CarSurfaceLayer

Constructors

Link copied to clipboard
fun CarTextModel2d()

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 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>?
Link copied to clipboard
fun updateModelMatrix(nextBitmap: Bitmap?)

Properties

Link copied to clipboard
val dimensions: Int
Link copied to clipboard
val edgeInsets: EdgeInsets? = null
Link copied to clipboard
val length: Int
Link copied to clipboard
val modelMatrix: FloatArray

Transformation matrix describes this model orientation space.

Link copied to clipboard
val stride: Int
Link copied to clipboard
val textureCords: FloatBuffer
Link copied to clipboard
val vertices: FloatBuffer
Link copied to clipboard
val visibleArea: Rect? = null