lineDepthOcclusionFactor

fun lineDepthOcclusionFactor(@FloatRange(from = 0.0, to = 1.0) lineDepthOcclusionFactor: Double): MapboxRouteLineViewDynamicOptionsBuilder

Factor that decreases line layer opacity based on occlusion from 3D objects. Value 0 disables occlusion, value 1 means fully occluded.

Return

the builder

Parameters

lineDepthOcclusionFactor

occlusion factor