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
Section titled “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.
System related
Section titled “System related”reearth.version: string: The version of the Re:Earth Visualizer.
reearth.apiVersion: string: The version of the Re:Earth Visualizer Plugin API.
reearth.engine: Engine: Current in-use engine of the Re:Earth Visualizer.
Scene related
Section titled “Scene related”Layer related
Section titled “Layer related”Extension related
Section titled “Extension related”Data related
Section titled “Data related”Want to have a try?
Section titled “Want to have a try?”Explore the Re:Earth Visualizer Plugin Playground to access numerous examples demonstrating the use of these plugin APIs.