Type Alias: ChooseProductToAdd()
ChooseProductToAdd = (
product) =>Promise<void>
Function
Selects a product to add to the modular scene.
This function prepares a product from the catalog for addition to the scene. If replace mode is active, it replaces the currently selected product with the new one; otherwise, it prepares the product for placement in the scene, showing all valid placement positions.
This is typically called when a user clicks on a product in the catalog or product browser, initiating the process of adding that product to the scene.