Capítulo 519 de 859

Chapter 519: ARButton

Core Idea

A utility class for creating a button that allows to initiate immersive AR sessions based on WebXR. The button can be created with a factory method and then appended to the website's DOM.

Code Examples

document.body.appendChild( ARButton.createButton( renderer ) );
  • What it demonstrates: Typical usage of ARButton.

Key Takeaways

  1. ARButton has no documented properties/methods beyond what's shown above — check the source link for implementation details.

Connects To