Class: QtvrControlMethod

QtvrControlMethod(element, pointerType, opts)

Control the view by clicking and moving the mouse. 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()

Destroy the instance