QFirstPersonCameraController class allows controlling the scene camera from the first person perspective. More…
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
The controls are:
Left mouse button
While the left mouse button is pressed, mouse movement along x-axis pans the camera and movement along y-axis tilts it.
Mouse scroll wheel
Zooms the camera in and out without changing the view center.
Turns the fine motion control active while pressed. Makes mouse pan and tilt less sensitive.
Move the camera horizontally relative to camera viewport.
Page up and page down keys
Move the camera vertically relative to camera viewport.
Moves the camera so that entire scene is visible in the camera viewport.