getCamera(canvas: HTMLCanvasElement, options: ICameraOptions): any
This function creates a camera using a npm package 3d-view-controls. The returned easy to use camera
allows you to interact with graphics objects in the scene using mouse, such as pan, rotate, and zoom in/out
the objects.
This function creates a camera using a
npm
package3d-view-controls
. The returned easy to use camera allows you to interact with graphics objects in the scene using mouse, such as pan, rotate, and zoom in/out the objects.