QFirstPersonCameraController Classclass Qt3DExtras::QFirstPersonCameraController
The QFirstPersonCameraController class allows controlling the scene camera from the first person perspective. More...
| find_package(Qt6 REQUIRED COMPONENTS 3dextras)
target_link_libraries(mytarget PRIVATE Qt6::3dextras)
|QT += 3dextras
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.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.