QFirstPersonCameraController Class
class Qt3DExtras::QFirstPersonCameraControllerQFirstPersonCameraController 클래스를 사용하면 1인칭 시점에서 씬 카메라를 제어할 수 있습니다. 더 보기...
Header: | #include <QFirstPersonCameraController> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
qmake: | QT += 3dextras |
상속합니다: | Qt3DExtras::QAbstractCameraController |
상태: | Deprecated |
자세한 설명
컨트롤은 다음과 같습니다:
입력 | 액션 |
---|---|
마우스 왼쪽 버튼 | 마우스 왼쪽 버튼을 누른 상태에서 X축을 따라 마우스를 움직이면 카메라가 패닝되고 Y축을 따라 움직이면 카메라가 기울어집니다. |
마우스 스크롤 휠 | 보기 중심을 변경하지 않고 카메라를 확대/축소합니다. |
Shift 키 | 누른 상태에서 미세 모션 컨트롤을 활성화합니다. 마우스 팬과 틸트의 민감도를 낮춥니다. |
화살표 키 | 카메라 뷰포트를 기준으로 카메라를 수평으로 이동합니다. |
페이지 업 및 페이지 다운 키 | 카메라 뷰포트를 기준으로 카메라를 세로로 이동합니다. |
탈출 | 카메라 뷰포트에서 전체 장면이 보이도록 카메라를 이동합니다. |
© 2025 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.