Location Puck3D
data class LocationPuck3D @JvmOverloads constructor(var modelUri: String, var position: List<Float> = listOf(0f, 0f), var modelOpacity: Float = 1.0f, var modelScale: List<Float> = listOf(1f, 1f, 1f), var modelScaleExpression: String? = null, var modelTranslation: List<Float> = listOf(0f, 0f, 0f), var modelRotation: List<Float> = listOf(0f, 0f, 90f), var modelCastShadows: Boolean = true, var modelReceiveShadows: Boolean = true, var modelScaleMode: ModelScaleMode = ModelScaleMode.VIEWPORT, var modelEmissiveStrength: Float = 1.0f, var modelEmissiveStrengthExpression: String? = null) : LocationPuck
Definition of a location_puck_3_d.
Constructors
Link copied to clipboard
fun LocationPuck3D(modelUri: String, position: List<Float> = listOf(0f, 0f), modelOpacity: Float = 1.0f, modelScale: List<Float> = listOf(1f, 1f, 1f), modelScaleExpression: String? = null, modelTranslation: List<Float> = listOf(0f, 0f, 0f), modelRotation: List<Float> = listOf(0f, 0f, 90f), modelCastShadows: Boolean = true, modelReceiveShadows: Boolean = true, modelScaleMode: ModelScaleMode = ModelScaleMode.VIEWPORT, modelEmissiveStrength: Float = 1.0f, modelEmissiveStrengthExpression: String? = null)
Functions
Properties
Link copied to clipboard
Strength of the emission as Expression string, note that when modelEmissiveStrengthExpression is specified, it will overwrite the modelEmissiveStrength property. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard