GIScene.Control.Walk Class
Control to simulate walking. Use keybord controls.
Constructor
GIScene.Control.Walk
(
-
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
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
Events
change
Fires when camera position or rotation is changed
change
Fires when camera position or rotation is changed