Camera.rotate
- Camera.rotate(dx, dy)[source]
Rotate the camera based on current mouse movement.
- Parameters:
- dxfloat
Number of rotation increments around the Z axis, with each increment the size of
Camera.rotationdelta.- dyfloat
Number of rotation increments around the X axis, with each increment the size of
Camera.rotationdelta.
Notes
Camera rotations are only available if the current view mode is a perspective view (
camera.renderer.config.viewmode == "perspective").