Private Readonly _loggerGets the scene scale units being used by this session. The library used internally is https://github.com/convert-units/convert-units#readme.
One of the valid scale units.
Sets the given product class id as active within the scene. This product class can be fetched via 'EPIGRAPH_CONFIGURATOR.api.getProductClassesConfig().productClasses'
A valid product class id that you wish to make active.
WHether to skip the camera updates when the class is updated.
Sets the given product class index as active within the scene. This index order is predefined and could be fetched via 'EPIGRAPH_CONFIGURATOR.api.getProductClassesConfig().productClasses'
A valid product class index that you wish to make active.
WHether to skip the camera updates when the class is updated.
Make a given product ID active in the current product class.
A valid product ID to be made current.
Whether the scene execution should be blocked while the product loads.
Moves the scene's main camera to a given camera location config.
Either an instance of ObjectTransforms object or the config for it.
Either an instance of ObjectTransforms object or the config for it.
Should the camera be frozen from making any further input movements after the transition is complete.
Updates current pricing for products within the session. This expects a map with product id as the primary key. For reference and convenience, use the "getCurrentProductPricings" method from this api.
Whether the process failed, or was successful.
Switches the variant for a given nodeId within the scene. Please note that a node is an instance of a product within the scene and a product can be referenced by multiple nodes. It's usually possible to get the node id while spawning the item.
A valid node id within the scene.
A valid variant ID for the provided node.
Reports success or failure. But doesn't return much details yet. Might add more info in the future.
Generated using TypeDoc
The API for the this app. Reason that this was separated out in a class of it's own is to allow for better auto completion. Since the App itself extends HTMLElement, it shows a lot of members during auto completion.