How to use the DragControls function from three

Find comprehensive JavaScript three.DragControls code examples handpicked from public code repositorys.

149
150
151
152
153
154
155
156
157
158
        this._paths[0].geometry.verticesNeedUpdate = true;

}.bind(this));


var dragControls = new THREE.DragControls(camera, [], renderer.domElement);

dragControls.on('hoveron', function(e){
        transformControl.attach(e.object.drone);
        cancelHideTransorm();
fork icon16
star icon39
watch icon8

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)