Class: QtvrControlMethod

QtvrControlMethod(element, pointerType, opts)

Controls the view by holding the mouse button down and moving it. Also known as "QTVR" control mode.

Constructor

new QtvrControlMethod(element, pointerType, opts)

Parameters:
Name Type Description
element Element

Element to listen for events.

pointerType string

Which Hammer.js pointer type to use (e.g. mouse or touch).

opts Object
Properties
Name Type Description
speed number
friction number
maxFrictionTime number
Implements:

Methods

destroy()

Destructor.