Skip to main content
Skip table of contents

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.

JS
getViews(): string[]

Returns

Type

Description

string[]

A list of available camera view names.

Example

JS
views = context.staticViews.getViews();
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.