The model object is a core concept in the plugin development environment. It serves as a central point for accessing key elements such as the scene, project, and Editor.Model.AssetManager. The model object encapsulates the data model representing a Lens Studio project. It brings together environment entities and functionalities that are essential for developing plugins. It plays a role analogous to the "Model" component found in Model-View-Controller architectural patterns, containing both data and business logic. In order to get the model object, which many key objects are stored within, you need the pluginSystem object which is being passed into the constructor of the plugin class, along with the ID of the model component (which can be accessed through the Editor namespace)

const model = pluginSystem.findInterface(Editor.Model.IModel)
const assetManager = model.project.assetManager
const scene = model.project.scene