Skip to content

Overview

The Re:Earth Visualizer Plugin API is a collection of APIs designed for plugin extensions to interact seamlessly with the Re:Earth Visualizer. It provides access to Visualizer data and offers methods to manage various components such as the layers, viewer, camera, timeline, ui, and extensions etc..

Plugin API

Re:Earth Visualizer Plugin API is wrapped in reearth object, which is available globally in the plugin WebAssembly side. The API is divided into several modules, each of which provides a set of properties and methods to interact with the Visualizer.

reearth.version: string: The version of the Re:Earth Visualizer.

reearth.apiVersion: string: The version of the Re:Earth Visualizer Plugin API.

reearth.engine: string: Current in-use engine of the Re:Earth Visualizer.

Want to have a try?

Explore the Re:Earth Visualizer Plugin Playground to access numerous examples demonstrating the use of these plugin APIs.