DragControls constructor

DragControls(
  1. List<Object3D> objects,
  2. dynamic camera,
  3. dynamic listenableKey
)

Implementation

DragControls(List<Object3D> objects, camera, listenableKey) : super() {
  this.camera = camera;
  this.listenableKey = listenableKey;
  this.objects = objects;

  // _domElement.style.touchAction = 'none'; // disable touch scroll

  scope = this;

  activate();

  // API
}