API Docs for: 1.0.2
Show:

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

    The camera object to be used with this control

  • [domElement] DOMElement optional

    The DOM Element to which the mouse events will be added

Item Index

Properties

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

Properties

isActive

Boolean