Qt3DRender::QCameraSelector Class
class Qt3DRender::QCameraSelectorClasse che consente di selezionare la fotocamera da utilizzare. Altro...
| Intestazione: | #include <qcameraselector.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| In QML: | CameraSelector |
| Eredita da: | Qt3DRender::QFrameGraphNode |
| Stato: | Obsoleto |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Proprietà
- camera : Qt3DCore::QEntity*
Funzioni pubbliche
| QCameraSelector(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DCore::QEntity * | camera() const |
Slot pubblici
| void | setCamera(Qt3DCore::QEntity *camera) |
Segnali
| void | cameraChanged(Qt3DCore::QEntity *camera) |
Descrizione dettagliata
È possibile utilizzare un oggetto " Qt3DRender::QCameraSelector " per selezionare la telecamera utilizzata da FrameGraph durante il disegno delle entità.
Documentazione delle proprietà
camera : Qt3DCore::QEntity*
Contiene la telecamera attualmente selezionata.
Funzioni di accesso:
| Qt3DCore::QEntity * | camera() const |
| void | setCamera(Qt3DCore::QEntity *camera) |
Segnale di notifica:
| void | cameraChanged(Qt3DCore::QEntity *camera) |
Documentazione delle funzioni membro
[explicit] QCameraSelector::QCameraSelector(Qt3DCore::QNode *parent = nullptr)
Il costruttore crea un'istanza con l'parent e specificata.
© 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.