📖 INDEX
LOADING ENGINE...
PointerLockControls
THREE.JS REFERENCE // pointerlockcontrols
The implementation of this class is based on the Pointer Lock API.
Syntax
const controls = new PointerLockControls(camera, document.body);Examples
Example 01Basic Usage
const controls = new PointerLockControls(camera, document.body);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.