Web SDK Reference | Get static views
A static view is a collection of camera-related settings that are defined in the product’s scene. Multiple static views can be defined in a product scene.
Static views make it easy to see the same product from different sides, with different camera settings or with a different background and foreground image. The methods below show how to get started with static views.
Method
The getViews()
method returns a list of available static view names.
getViews(): string[]
Returns
Type | Description |
---|---|
| A list of available camera view names. |
Example
views = context.staticViews.getViews();