Skip to content

Commit

Permalink
PlaneRenderMode.RENDER_ALL was set as the default mode but the doc st…
Browse files Browse the repository at this point in the history
…ates clearly that this mode is very expensive.
  • Loading branch information
RGregat committed Mar 12, 2022
1 parent 7ad2ec4 commit 3140b34
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -71,7 +71,7 @@ class PlaneRenderer(val lifecycle: ArSceneLifecycle) : ArSceneLifecycleObserver
*
* @param planeRendererMode [PlaneRendererMode]
*/
var planeRendererMode = PlaneRendererMode.RENDER_ALL
var planeRendererMode = PlaneRendererMode.RENDER_TOP_MOST

// Distance from the camera to last plane hit, default value is 4 meters (standing height).
private var planeHitDistance = 4.0f
Expand Down

0 comments on commit 3140b34

Please sign in to comment.