API Reference - 3D Viewer

List of all the existing methods and parameters of the 3D Viewer module

Instance methods

setViewerDefaultPosition(string): void
This method changes the default position of the frame when the 3D Viewer starts and resets itself (when clicking the "Reset Position" button or calling the resetViewerCameraPosition method).
Valid parameters are: "front" and "quarter". Default value is "quarter".

resetViewerCameraPosition(): void
This methos moves the camera to its default position.

The full product comes with a broader API which lets you customize the user experience, change frames on-the-fly and adapt to the state of the module.

See here for further information about the complete API.