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.

Signature:

export default class CameraManipulator extends Tool 

Extends: Tool

Constructors

ConstructorDescription
(constructor)(viewer)Constructs a new instance of the CameraManipulator class

Methods

MethodDescription
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.