AFrame Drag Look Controls Component
This is basically same as look-controls
component besides the canvas moves to the way you drag.
For detail, please check look-controls page.
Properties
Property | Description | Default Value |
---|---|---|
enabled |
Whether look controls are enabled. | true |
Usage
The drag-look-controls
component is usually used alongside the [camera component][components-camera].
Browser Installation
Install and use by directly including the browser files:
My A-Frame Scene
NPM Installation
Install via NPM:
npm i -D aframe-drag-look-controls-component
Then register and use.