Capítulo 635 de 859

Chapter 635: XRPlanes

Core Idea

A utility class for the WebXR Plane Detection Module. If planes are detected by WebXR, this class will automatically add them as thin box meshes to the scene when below code snippet is used.

Code Examples

const planes = new XRPlanes( renderer );
scene.add( planes );
  • What it demonstrates: Typical usage of XRPlanes.

Reference Tables

Constructor

Signature
`new XRPlanes( renderer : WebGLRenderer

Key Takeaways

  1. XRPlanes extends: EventDispatcher → Object3D

Connects To