LocationPuck3D

Definition of a location_puck_3_d.

data class LocationPuck3D @JvmOverloads() constructor(modelUri: String, position: List<Float>, modelOpacity: Float, modelScale: List<Float>, modelScaleExpression: String?, modelTranslation: List<Float>, modelRotation: List<Float>) : LocationPuck

Constructors

LocationPuck3D
Link copied to clipboard
fun LocationPuck3D(modelUri: String, position: List<Float>, modelOpacity: Float, modelScale: List<Float>, modelScaleExpression: String?, modelTranslation: List<Float>, modelRotation: List<Float>)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): List<Float>
component3
Link copied to clipboard
operator fun component3(): Float
component4
Link copied to clipboard
operator fun component4(): List<Float>
component5
Link copied to clipboard
operator fun component5(): String?
component6
Link copied to clipboard
operator fun component6(): List<Float>
component7
Link copied to clipboard
operator fun component7(): List<Float>
copy
Link copied to clipboard
fun copy(modelUri: String, position: List<Float>, modelOpacity: Float, modelScale: List<Float>, modelScaleExpression: String?, modelTranslation: List<Float>, modelRotation: List<Float>): LocationPuck3D
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

modelOpacity
Link copied to clipboard

The opacity of the model.

var modelOpacity: Float
modelRotation
Link copied to clipboard

The rotation of the model.

var modelRotation: List<Float>
modelScale
Link copied to clipboard

The scale of the model.

var modelScale: List<Float>
modelScaleExpression
Link copied to clipboard

The scale expression of the model, which will overwrite the default scale expression that keeps the model size constant during zoom.

var modelScaleExpression: String?
modelTranslation
Link copied to clipboard

The translation of the model lon, lat, z

var modelTranslation: List<Float>
modelUri
Link copied to clipboard

An URL for the model file in gltf format.

var modelUri: String
position
Link copied to clipboard

The scale of the model.

var position: List<Float>