Qt3DRender::QCameraSelector Class
class Qt3DRender::QCameraSelectorClase que permite seleccionar la cámara que se va a utilizar. Más...
| Cabecera: | #include <QCameraSelector> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender)target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| En QML: | CameraSelector |
| Hereda: | Qt3DRender::QFrameGraphNode |
| Status: | Obsoleto |
Propiedades
- camera : Qt3DCore::QEntity*
Funciones públicas
| QCameraSelector(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DCore::QEntity * | camera() const |
Ranuras públicas
| void | setCamera(Qt3DCore::QEntity *camera) |
Señales
| void | cameraChanged(Qt3DCore::QEntity *camera) |
Descripción Detallada
A Qt3DRender::QCameraSelector se puede utilizar para seleccionar la cámara, que es utilizada por el FrameGraph al dibujar las entidades.
Documentación de Propiedades
camera : Qt3DCore::QEntity*
Mantiene la cámara actualmente seleccionada.
Funciones de acceso:
| Qt3DCore::QEntity * | camera() const |
| void | setCamera(Qt3DCore::QEntity *camera) |
Señal del notificador:
| void | cameraChanged(Qt3DCore::QEntity *camera) |
Documentación de la función miembro
[explicit] QCameraSelector::QCameraSelector(Qt3DCore::QNode *parent = nullptr)
El constructor crea una instancia con la dirección parent especificada.
© 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.