Class: ScrollZoomControlMethod

ScrollZoomControlMethod(element, opts)

Control the fov/zoom by using the mouse wheel.

Constructor

new ScrollZoomControlMethod(element, opts)

Parameters:
Name Type Description
element Element

Element to listen for events.

opts Object
Properties
Name Type Attributes Default Description
frictionTime number <optional>
0.2
zoomDelta number <optional>
0.001
Implements:

Methods

destroy()

Destroy the instance