Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zooming to cursor position in OrbitControls #24979

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/examples/en/controls/OrbitControls.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ <h3>[property:Boolean enableZoom]</h3>
Enable or disable zooming (dollying) of the camera.
</p>

<h3>[property:Boolean enableZoomToCursor]</h3>
<p>
Set to `true`, camera is zoomed to mouse cursor (or touch pinch on mobile) position. Set to `false`, zoom as dolly. Default is `false`.
</p>

<h3>[property:Float keyPanSpeed]</h3>
<p>
How fast to pan the camera when the keyboard is used. Default is 7.0 pixels per keypress.
Expand Down
Loading