API Docs for: 1.0.2
Show:

GIScene.Control.OrbitZoomPan Class

Control to Examine Objects. Rotates the Camera around a center, zooms in and out and pans the camera.

Constructor

GIScene.Control.OrbitZoomPan

(
  • 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

()

Inherited from GIScene.Control but overwritten in GIScene\Control\OrbitZoomPan.js:372

Activates this Control

deactivate

()

Inherited from GIScene.Control but overwritten in GIScene\Control\OrbitZoomPan.js:403

Deactivates this Control

setScene

(
  • scene
)
Sets the scene property. This is automatically called on scene.addControl()

Parameters:

  • scene Object

Properties

isActive

Boolean

Events

afterchange

beforechange