📖 INDEX
LOADING ENGINE...
DragControls
THREE.JS REFERENCE // dragcontrols
This class can be used to provide a drag'n'drop interaction.
Syntax
const controls = new DragControls(objects, camera, renderer.domElement);Examples
Example 01Basic Usage
const controls = new DragControls(objects, camera, renderer.domElement);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.