setExtrusionOpacity

open fun setExtrusionOpacity(@NonNull @FloatRange(from = 0.0, to = 1.0) extrusionOpacity: Float)

Set the opacity of extrusions to a value between 0 (completely transparent) and 1 (completely opaque)

Parameters

extrusionOpacity

A float between 0 and 1

Throws

If the float is not between 0 and 1