GIScene.Control.PanOrbitZoomCenter Class
Control to examine Objects and move around on a terrain. Rotates the Camera around a center, zooms in and out, pans the camera and moves to a new rotation center on double click.
Constructor
GIScene.Control.PanOrbitZoomCenter
(
-
object
-
[domElement]
Parameters:
-
object
THREE.CameraThe camera object to be used with this control
-
[domElement]
DOMElement optionalThe DOM Element to which the mouse events will be added
Item Index
Methods
Events
Methods
activate
()
Activates this Control
deactivate
()
Deactivates this Control
setScene
(
-
scene
Sets the scene property. This is automatically called on scene.addControl()
Parameters:
-
scene
Object