CameraManipulator class

The camera manipulator associates the input, e.g, mouse to the view camera. This tool is added to viewer implicitly when mouse is enabled.


export default class CameraManipulator extends Tool 


destroy()Delete all resources in the camera manipulator object.
setInputSensitivity(options)Set the camera sensitivity to inputs. The larger value is, the more rapid the camera changes is.
setTransitionSpeed(speed)Set the transition speed of camera when play animation.
switchToView(direction)Switch camera to certain view direction.
switchToWorldView()Switch camera to the default view angle which contains all elements in scene.