@martinpham/react-360-keyboard-camera-controller
v1.0.8
Published
Provide Keyboard Camera Controller for your React 360 project. Now you can navigate inside 3D world using your arrow keys.
Downloads
5
Maintainers
Readme
@martinpham/react-360-keyboard-camera-controller
Provide Keyboard Camera Controller for your React 360 project. Now you can navigate inside 3D world using your arrow keys.
Demo
Installing
yarn add @martinpham/react-360-keyboard-camera-controller
Integrating
import KeyboardCameraController from '@martinpham/react-360-keyboard-camera-controller';
...
r360.controls.addCameraController(new KeyboardCameraController());