VisionARViewController
Class that represents visual component that renders video stream from the camera and AR navigation route on top of that.
-
Control the visibility of the Mapbox logo.
-
Control the visibility of the lane. Defatul is YES
-
Control the visibility of the fences. Default is NO
-
Change visual parameters of AR lane. @param laneVisualParams Configuration that describes visual state of AR lane.
-
Change visual parameters of AR fence. @param fenceVisualParams Configuration that describes visual state of AR fence.
-
Set
VisionARManager
to enable rendering of ar lane on the view.VisionARManager
is held as a weak reference.VisionARViewController
will show frames as long asVisionARManager
exists. @param arManager - instance of VisionARManager. -
Change overall quality of AR objects. Quality should be in [0.0, 1.0] range. 1.0 stands for the best quality, 0.0 stands for the worst quality. Any other value will get clamped to [0.0, 1.0] range. Tweaking AR quality may improve performance. @param quality - quality of AR object such as lane and fence.