Qt3DRender::QCameraSelector Class
class Qt3DRender::QCameraSelector사용할 카메라를 선택할 수 있도록 하는 클래스. 더 보기...
| 헤더: | #include <qcameraselector.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| QML에서: | CameraSelector |
| 상속: | Qt3DRender::QFrameGraphNode |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
속성
- camera : Qt3DCore::QEntity*
공개 함수
| QCameraSelector(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DCore::QEntity * | camera() const |
공개 슬롯
| void | setCamera(Qt3DCore::QEntity *camera) |
신호
| void | cameraChanged(Qt3DCore::QEntity *camera) |
상세 설명
Qt3DRender::QCameraSelector 를 사용하여 FrameGraph가 엔티티를 그릴 때 사용할 카메라를 선택할 수 있습니다.
속성 설명
camera : Qt3DCore::QEntity*
현재 선택된 카메라를 유지합니다.
접근 기능:
| Qt3DCore::QEntity * | camera() const |
| void | setCamera(Qt3DCore::QEntity *camera) |
알림 신호:
| void | cameraChanged(Qt3DCore::QEntity *camera) |
멤버 함수 설명서
[explicit] QCameraSelector::QCameraSelector(Qt3DCore::QNode *parent = nullptr)
이 생성자는 지정된 ` parent`을 사용하여 인스턴스를 생성합니다.
© 2026 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.