Skip to content

Commit

Permalink
chore(docs): add camera pan video recording
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Jul 16, 2024
1 parent c86cb2b commit fb96748
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/docs/guides/CAMERA.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ The table below shows how the precision drops for various `near` plane values (s

## The camera manipulator

<div class="image-container">
<svg xmlns="http://www.w3.org/2000/svg" width="283" height="535">
<image href={useBaseUrl("img/demo-camera-pan.gif")} x="18" y="33" width="247" height="469" />
<image href={useBaseUrl("img/frame.png")} width="283" height="535" />
</svg>
</div>

The camera can be controlled by a helper utility called [`CameraManipulator`](../api/interfaces/CameraManipulator), which enables complex gestures such as orbiting, panning, and zooming.

Currently only a `ORBIT` mode is supported (in the future `MAP` and `FREE_FLIGHT` could be added as well).
Expand Down
Binary file added docs/static/img/demo-camera-pan.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fb96748

Please sign in to comment.