modelOpacity

open override fun modelOpacity(modelOpacity: Double): ModelLayer

The opacity of the model layer. Except for zoom, expressions that are data-driven are not supported if using GeoJSON or vector tile as the model layer source. Default value: 1. Value range: 0, 1

Use static method ModelLayer.defaultModelOpacity to set the default property.

Parameters

modelOpacity

value of modelOpacity


open override fun modelOpacity(modelOpacity: Expression): ModelLayer

The opacity of the model layer. Except for zoom, expressions that are data-driven are not supported if using GeoJSON or vector tile as the model layer source. Default value: 1. Value range: 0, 1

Use static method ModelLayer.defaultModelOpacityAsExpression to set the default property.

Parameters

modelOpacity

value of modelOpacity as Expression


The opacity of the model layer. Except for zoom, expressions that are data-driven are not supported if using GeoJSON or vector tile as the model layer source. Default value: 1. Value range: 0, 1