LocationModelLayerOptions

Option class that configs and defines the default values for ModelLayerRender

data class LocationModelLayerOptions(modelUrl: String, position: List<Double>, modelScale: List<Double>, modelRotation: List<Double>, modelOpacity: Double)

Constructors

LocationModelLayerOptions
Link copied to clipboard
fun LocationModelLayerOptions(modelUrl: String, position: List<Double>, modelScale: List<Double>, modelRotation: List<Double>, modelOpacity: Double)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): List<Double>
component3
Link copied to clipboard
operator fun component3(): List<Double>
component4
Link copied to clipboard
operator fun component4(): List<Double>
component5
Link copied to clipboard
operator fun component5(): Double
copy
Link copied to clipboard
fun copy(modelUrl: String, position: List<Double>, modelScale: List<Double>, modelRotation: List<Double>, modelOpacity: Double): LocationModelLayerOptions
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 this model

val modelOpacity: Double
modelRotation
Link copied to clipboard

The rotation of this model

val modelRotation: List<Double>
modelScale
Link copied to clipboard

The scale of this model

val modelScale: List<Double>
modelUrl
Link copied to clipboard

The url of this model, in gltf format.

val modelUrl: String
position
Link copied to clipboard

The position of this model

val position: List<Double>