API Docs for: 1.0.2
Show:

GIScene.Control.Walk Class

Extends GIScene.Control
Module: GIScene

Control to simulate walking. Use keybord controls.

Constructor

GIScene.Control.Walk

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

Events

Methods

activate

()

Inherited from GIScene.Control but overwritten in GIScene\Control\Walk.js:472

Activates this Control

deactivate

()

Inherited from GIScene.Control but overwritten in GIScene\Control\Walk.js:525

Deactivates this Control

setScene

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

Parameters:

  • scene Object

Properties

isActive

Boolean

Events

change

Fires when camera position or rotation is changed

change

Fires when camera position or rotation is changed