📖 INDEX
LOADING ENGINE...
DeviceOrientationControls
THREE.JS REFERENCE // deviceorientationcontrols
Creates controls based on device orientation sensors.
Syntax
const controls = new DeviceOrientationControls(camera);Examples
Example 01Basic Usage
const controls = new DeviceOrientationControls(camera);Best Practices
- Consult the official Three.js documentation for deeper understanding.
- Be mindful of performance when creating many objects or geometries.