Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoCavalcante committed Apr 20, 2022
1 parent db55676 commit 4b9e60f
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,23 @@ function Canvases() {

The `<OrbitControls />` element _may_ receive the following properties:

| Property | Type | Description |
| :-------------- | :---------------: | ----------------------------------------------: |
| camera | PerspectiveCamera | |
| enabled | boolean | |
| target | Vector3 | |
| minDistance | number | |
| maxDistance | number | |
| minZoom | number | |
| maxZoom | number | |
| minPolarAngle | number | how close you can orbit vertically |
| maxPolarAngle | number | how far you can orbit vertically |
| minAzimuthAngle | number | how close you can orbit horizontally |
| maxAzimuthAngle | number | how far you can orbit horizontally |
| dampingFactor | number | inertia factor |
| enableZoom | boolean | |
| zoomSpeed | number | |
| enableRotate | boolean | |
| rotateSpeed | number | |
| enablePan | boolean | |
| panSpeed | number | |
| onChange | (event) => void | receives an event with all the properties above |
| Property | Type | Description |
| :-------------- | :-------------: | ----------------------------------------------: |
| enabled | boolean | |
| target | Vector3 | |
| minDistance | number | |
| maxDistance | number | |
| minZoom | number | |
| maxZoom | number | |
| minPolarAngle | number | how close you can orbit vertically |
| maxPolarAngle | number | how far you can orbit vertically |
| minAzimuthAngle | number | how close you can orbit horizontally |
| maxAzimuthAngle | number | how far you can orbit horizontally |
| dampingFactor | number | inertia factor |
| enableZoom | boolean | |
| zoomSpeed | number | |
| enableRotate | boolean | |
| rotateSpeed | number | |
| enablePan | boolean | |
| panSpeed | number | |
| onChange | (event) => void | receives an event with all the properties above |

0 comments on commit 4b9e60f

Please sign in to comment.